SelectionFormEntries class
A collection of selection-based form entry widgets
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
checkboxListFormEntry(
{String title = 'Checkbox List', String subTitle = 'Select multiple options', required List< String> options, required Map<String, bool> selectedOptions, required dynamic onChanged(String, bool), String? validator(Map<String, bool> ?)?, bool isRequired = false, bool enabled = true, GlobalKey<FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Generic checkbox list form field
-
multiSelectFormEntry(
{String title = 'Multi Select', String subTitle = 'Choose multiple options from the list', required List< String> options, required void onChanged(List<String> ), String? validator(List<String> ?)?, List<String> ? defaultValues, bool searchable = true, String confirmText = 'Select', String cancelText = 'Cancel', bool isRequired = false, bool enabled = true, GlobalKey<FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Multi-select form field
-
radioButtonFormEntry<
T> ({String title = 'Radio Selection', String subTitle = 'Choose one option', required List< T> options, required String getDisplayText(T), required dynamic onChanged(T?), T? defaultValue, String? validator(T?)?, bool isRequired = false, bool enabled = true, GlobalKey<FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Generic radio button form field
-
singleSelectFormEntry(
{String title = 'Select Option', String subTitle = 'Choose one option from the list', required List< String> options, String? hintText, IconData iconData = Icons.list, dynamic onChanged(String?)?, String? defaultValue, String? validator(String?)?, bool isRequired = false, bool enabled = true, GlobalKey<FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Single select dropdown form field