SelectValueOption<T> class
Constructors
-
SelectValueOption({required SelectValueController<
T> selectValueController, Widget builder(BuildContext context, T value, T? selectedValue, void onChange(T?)?)?, required List<T> values, Color? backgroundColor, double? borderRadius, String label = '', TextStyle? labelStyle, bool? showBorder = true, Color? borderColor, EdgeInsets? padding, Widget? icon})
Properties
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- borderRadius → double?
-
final
- builder ↔ Widget Function(BuildContext context, T value, T? selectedValue, void onChange(T?)?)?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
final
- label ↔ String
-
getter/setter pair
- labelStyle → TextStyle?
-
final
- padding → EdgeInsets?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectValueController
→ SelectValueController<
T> -
final
- showBorder → bool?
-
final
-
values
→ List<
T> -
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