EnumOption<T extends Enum> class
- Inheritance
-
- Object
- Option
- OptionField<
T> - EnumOption
Constructors
-
EnumOption({required String name, required T defaultValue, required T? reader(), String? description, IconData icon = Icons.gear_six_fill, required void writer(T? t), required Basic decorator(T t), required List<
T> options, bool shouldShow(BuildContext context) = _defShouldShow})
Properties
- built → Widget
-
no setteroverride
- decorator → Basic Function(T t)
-
final
- defaultValue → T
-
finalinherited
- description → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
finalinherited
- id → String
-
no setterinherited
- name → String
-
finalinherited
-
options
→ List<
T> -
final
- reader → T? Function()
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldShow → bool Function(BuildContext context)
-
finalinherited
- writer → void Function(T? t)
-
finalinherited
Methods
-
matches(
String text) → bool -
override
-
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