Class CupertinoSwitch | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class CupertinoSwitch

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    CupertinoSwitch
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.cupertino
    Syntax
    public class CupertinoSwitch : StatefulWidget

    Constructors

    CupertinoSwitch(Boolean, ValueChanged<Boolean>, Key, Color, DragStartBehavior)

    Declaration
    public CupertinoSwitch(bool value, ValueChanged<bool> onChanged, Key key = null, Color activeColor = null, DragStartBehavior dragStartBehavior = DragStartBehavior.start)
    Parameters
    Type Name Description
    Boolean value
    ValueChanged<Boolean> onChanged
    Key key
    Color activeColor
    DragStartBehavior dragStartBehavior

    Fields

    activeColor

    Declaration
    public readonly Color activeColor
    Field Value
    Type Description
    Color

    dragStartBehavior

    Declaration
    public readonly DragStartBehavior dragStartBehavior
    Field Value
    Type Description
    DragStartBehavior

    onChanged

    Declaration
    public readonly ValueChanged<bool> onChanged
    Field Value
    Type Description
    ValueChanged<Boolean>

    value

    Declaration
    public readonly bool value
    Field Value
    Type Description
    Boolean

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023