AlertDialogAction<T> class

Used for specifying showAlertDialog's actions.

Available Extensions
Annotations
  • @immutable

Constructors

AlertDialogAction({T key, @required String label, bool isDefaultAction: false, bool isDestructiveAction: false, TextStyle textStyle: const TextStyle()})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isDefaultAction bool
Make font weight to bold(Only works for CupertinoStyle).
final
isDestructiveAction bool
Make font color to destructive/error color(red).
final
key → T
final
label String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
textStyle TextStyle
Change textStyle to another from default. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited