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

    Class Checkbox

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    Checkbox
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    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.material
    Syntax
    public class Checkbox : StatefulWidget

    Constructors

    Checkbox(Key, Nullable<Boolean>, Boolean, ValueChanged<Nullable<Boolean>>, Color, Color, Nullable<MaterialTapTargetSize>)

    Declaration
    public Checkbox(Key key = null, bool? value, bool tristate = false, ValueChanged<bool? > onChanged = null, Color activeColor = null, Color checkColor = null, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ))
    Parameters
    Type Name Description
    Key key
    Nullable<Boolean> value
    Boolean tristate
    ValueChanged<Nullable<Boolean>> onChanged
    Color activeColor
    Color checkColor
    Nullable<MaterialTapTargetSize> materialTapTargetSize

    Fields

    activeColor

    Declaration
    public readonly Color activeColor
    Field Value
    Type Description
    Color

    checkColor

    Declaration
    public readonly Color checkColor
    Field Value
    Type Description
    Color

    materialTapTargetSize

    Declaration
    public readonly MaterialTapTargetSize? materialTapTargetSize
    Field Value
    Type Description
    Nullable<MaterialTapTargetSize>

    onChanged

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

    tristate

    Declaration
    public readonly bool tristate
    Field Value
    Type Description
    Boolean

    value

    Declaration
    public readonly bool? value
    Field Value
    Type Description
    Nullable<Boolean>

    width

    Declaration
    public const float width = 18F
    Field Value
    Type Description
    Single

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    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