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

    Class AlertDialog

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    AlertDialog
    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.material
    Syntax
    public class AlertDialog : StatelessWidget

    Constructors

    AlertDialog(Key, Widget, EdgeInsets, TextStyle, Widget, EdgeInsets, TextStyle, List<Widget>, Color, Nullable<Single>, ShapeBorder)

    Declaration
    public AlertDialog(Key key = null, Widget title = null, EdgeInsets titlePadding = null, TextStyle titleTextStyle = null, Widget content = null, EdgeInsets contentPadding = null, TextStyle contentTextStyle = null, List<Widget> actions = null, Color backgroundColor = null, float? elevation = default(float? ), ShapeBorder shape = null)
    Parameters
    Type Name Description
    Key key
    Widget title
    EdgeInsets titlePadding
    TextStyle titleTextStyle
    Widget content
    EdgeInsets contentPadding
    TextStyle contentTextStyle
    System.Collections.Generic.List<Widget> actions
    Color backgroundColor
    System.Nullable<System.Single> elevation
    ShapeBorder shape

    Fields

    actions

    Declaration
    public readonly List<Widget> actions
    Field Value
    Type Description
    System.Collections.Generic.List<Widget>

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    content

    Declaration
    public readonly Widget content
    Field Value
    Type Description
    Widget

    contentPadding

    Declaration
    public readonly EdgeInsets contentPadding
    Field Value
    Type Description
    EdgeInsets

    contentTextStyle

    Declaration
    public readonly TextStyle contentTextStyle
    Field Value
    Type Description
    TextStyle

    elevation

    Declaration
    public readonly float? elevation
    Field Value
    Type Description
    System.Nullable<System.Single>

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    title

    Declaration
    public readonly Widget title
    Field Value
    Type Description
    Widget

    titlePadding

    Declaration
    public readonly EdgeInsets titlePadding
    Field Value
    Type Description
    EdgeInsets

    titleTextStyle

    Declaration
    public readonly TextStyle titleTextStyle
    Field Value
    Type Description
    TextStyle

    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