Inheritance
System.Object
Dialog
public class Dialog : StatelessWidget
Constructors
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
Declaration
public static readonly RoundedRectangleBorder _defaultDialogShape
Field Value
Declaration
public readonly Color backgroundColor
Field Value
Declaration
public readonly Widget child
Field Value
Declaration
public readonly float? elevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly Curve insetAnimationCurve
Field Value
Declaration
public readonly TimeSpan insetAnimationDuration
Field Value
Type |
Description |
System.TimeSpan |
|
Declaration
public readonly ShapeBorder shape
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides