AlertButton class
A button configuration for alert dialogs.
Used to define action buttons in TAlert dialogs.
Constructors
- AlertButton({String? text, IconData? icon, VoidCallback? onClick})
- Creates an alert button configuration.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
The icon to display on the button.
final
- onClick → VoidCallback?
-
Callback fired when the button is clicked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The text to display on the button.
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