UNavAction class
One row of UNavigator.actionSheet: label, icon, destructive style, enabled.
Constructors
-
An action-sheet row.
const
Properties
- enabled → bool
-
False greys the row out.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Leading icon.
final
- isDestructive → bool
-
Paints the row in the error color (delete, logout).
final
- label → String
-
Row text.
final
- onTap → VoidCallback
-
Runs when the row is tapped (close the sheet yourself with UNavigator.back()).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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