Class SnackBarAction | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SnackBarAction

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

    Constructors

    SnackBarAction(Key, Color, Color, String, VoidCallback)

    Declaration
    public SnackBarAction(Key key = null, Color textColor = null, Color disabledTextColor = null, string label = null, VoidCallback onPressed = null)
    Parameters
    Type Name Description
    Key key
    Color textColor
    Color disabledTextColor
    System.String label
    VoidCallback onPressed

    Fields

    disabledTextColor

    Declaration
    public readonly Color disabledTextColor
    Field Value
    Type Description
    Color

    label

    Declaration
    public readonly string label
    Field Value
    Type Description
    System.String

    onPressed

    Declaration
    public readonly VoidCallback onPressed
    Field Value
    Type Description
    VoidCallback

    textColor

    Declaration
    public readonly Color textColor
    Field Value
    Type Description
    Color

    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