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

    Class Dialog

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

    Constructors

    Dialog(Key, Color, Nullable<Single>, Nullable<TimeSpan>, Curve, ShapeBorder, Widget)

    Declaration
    public Dialog(Key key = null, Color backgroundColor = null, float? elevation = default(float? ), TimeSpan? insetAnimationDuration = default(TimeSpan? ), Curve insetAnimationCurve = null, ShapeBorder shape = null, Widget child = null)
    Parameters
    Type Name Description
    Key key
    Color backgroundColor
    System.Nullable<System.Single> elevation
    System.Nullable<System.TimeSpan> insetAnimationDuration
    Curve insetAnimationCurve
    ShapeBorder shape
    Widget child

    Fields

    _defaultDialogShape

    Declaration
    public static readonly RoundedRectangleBorder _defaultDialogShape
    Field Value
    Type Description
    RoundedRectangleBorder

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    elevation

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

    insetAnimationCurve

    Declaration
    public readonly Curve insetAnimationCurve
    Field Value
    Type Description
    Curve

    insetAnimationDuration

    Declaration
    public readonly TimeSpan insetAnimationDuration
    Field Value
    Type Description
    System.TimeSpan

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    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