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

    Class CupertinoButton

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    CupertinoButton
    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 CupertinoButton : StatefulWidget

    Constructors

    CupertinoButton(Widget, VoidCallback, Key, EdgeInsets, Color, Color, Single, Single, BorderRadius, Boolean)

    Declaration
    public CupertinoButton(Widget child, VoidCallback onPressed, Key key = null, EdgeInsets padding = null, Color color = null, Color disabledColor = null, float minSize = 44F, float pressedOpacity = 0.1F, BorderRadius borderRadius = null, bool filled = false)
    Parameters
    Type Name Description
    Widget child
    VoidCallback onPressed
    Key key
    EdgeInsets padding
    Color color
    Color disabledColor
    Single minSize
    Single pressedOpacity
    BorderRadius borderRadius
    Boolean filled

    Fields

    _filled

    Declaration
    public readonly bool _filled
    Field Value
    Type Description
    Boolean

    borderRadius

    Declaration
    public readonly BorderRadius borderRadius
    Field Value
    Type Description
    BorderRadius

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    disabledColor

    Declaration
    public readonly Color disabledColor
    Field Value
    Type Description
    Color

    minSize

    Declaration
    public readonly float minSize
    Field Value
    Type Description
    Single

    onPressed

    Declaration
    public readonly VoidCallback onPressed
    Field Value
    Type Description
    VoidCallback

    padding

    Declaration
    public readonly EdgeInsets padding
    Field Value
    Type Description
    EdgeInsets

    pressedOpacity

    Declaration
    public readonly float? pressedOpacity
    Field Value
    Type Description
    Nullable<Single>

    Properties

    enabled

    Declaration
    public bool enabled { get; }
    Property 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)

    filled(Widget, VoidCallback, Key, EdgeInsets, Color, Single, Single, BorderRadius)

    Declaration
    public static CupertinoButton filled(Widget child, VoidCallback onPressed, Key key = null, EdgeInsets padding = null, Color disabledColor = null, float minSize = 44F, float pressedOpacity = 0.1F, BorderRadius borderRadius = null)
    Parameters
    Type Name Description
    Widget child
    VoidCallback onPressed
    Key key
    EdgeInsets padding
    Color disabledColor
    Single minSize
    Single pressedOpacity
    BorderRadius borderRadius
    Returns
    Type Description
    CupertinoButton
    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