ZwapButtonOption class
Constructors
- ZwapButtonOption({required String label, required IconData icon, required void onTap(), ZwapButtonOptionDecorations? decorations, bool isDestructive = false})
-
const
- ZwapButtonOption.customIcon({required String label, required Widget icon(bool), required void onTap(), ZwapButtonOptionDecorations? decorations, bool isDestructive = false})
-
const
Properties
- customIcon → (Widget Function(bool)?)
-
final
- decorations → ZwapButtonOptionDecorations?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
final
- isDestructive → bool
-
The destructive option will be grouped
at the bottom of the overlay
final
- label → String
-
final
- onTap → void Function()
-
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