AlertDialogAction<T> class

Used for specifying showAlertDialog's actions.

Available Extensions
Annotations

Constructors

AlertDialogAction({required 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.
no setterinherited
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.
no setterinherited
textStyle TextStyle
Change textStyle to another from default.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited