Inheritance
System.Object
AlertDialog
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
Fields
Declaration
public readonly List<Widget> actions
Field Value
Type |
Description |
System.Collections.Generic.List<Widget> |
|
Declaration
public readonly Color backgroundColor
Field Value
content
Declaration
public readonly Widget content
Field Value
contentPadding
Declaration
public readonly EdgeInsets contentPadding
Field Value
contentTextStyle
Declaration
public readonly TextStyle contentTextStyle
Field Value
Declaration
public readonly float? elevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly ShapeBorder shape
Field Value
Declaration
public readonly Widget title
Field Value
Declaration
public readonly EdgeInsets titlePadding
Field Value
titleTextStyle
Declaration
public readonly TextStyle titleTextStyle
Field Value
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Returns
Overrides