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

    Class CupertinoDialogAction

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    CupertinoDialogAction
    Inherited Members
    StatelessWidget.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.cupertino
    Syntax
    public class CupertinoDialogAction : StatelessWidget

    Constructors

    CupertinoDialogAction(Widget, VoidCallback, Boolean, Boolean, TextStyle)

    Declaration
    public CupertinoDialogAction(Widget child, VoidCallback onPressed = null, bool isDefaultAction = false, bool isDestructiveAction = false, TextStyle textStyle = null)
    Parameters
    Type Name Description
    Widget child
    VoidCallback onPressed
    Boolean isDefaultAction
    Boolean isDestructiveAction
    TextStyle textStyle

    Fields

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    isDefaultAction

    Declaration
    public readonly bool isDefaultAction
    Field Value
    Type Description
    Boolean

    isDestructiveAction

    Declaration
    public readonly bool isDestructiveAction
    Field Value
    Type Description
    Boolean

    onPressed

    Declaration
    public readonly VoidCallback onPressed
    Field Value
    Type Description
    VoidCallback

    textStyle

    Declaration
    public readonly TextStyle textStyle
    Field Value
    Type Description
    TextStyle

    Properties

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    Boolean

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)
    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