JidoujishoBottomSheetOption class
An option to show in a bottom sheet.
Constructors
-
JidoujishoBottomSheetOption({required String label, required IconData icon, required FutureOr<
void> action(), bool active = false}) - Defines an option in a bottom sheet.
Properties
-
action
↔ FutureOr<
void> Function() -
Action to perform upon selecting the option.
read / write
- active ↔ bool
-
Whether or not the option is available.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- icon ↔ IconData
-
Icon to display left of the label.
read / write
- label ↔ String
-
Label to display in the option.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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