FmSingleChoiceField<T> class
Constructors
-
FmSingleChoiceField({required List<
T> choices, bool required = false, T? value, T? defaultValue, String? validator(T? value)?, dynamic map(T value)?})
Properties
-
choices
→ List<
T> -
no setter
- defaultValue → T?
-
finalinherited
- error → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- map → dynamic Function(T value)?
-
finalinherited
- required → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T?
-
no setterinherited
Methods
-
addListener(
VoidCallback cb) → void -
inherited
-
change(
T? value) → void -
inherited
-
dispose(
) → FutureOr< void> -
inherited
-
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