InteractiveFormEntries class
A collection of interactive form entry widgets (switches, numbers, etc.)
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
-
checkBoxFormEntry(
{String title = 'Checkbox', String subTitle = 'Select/Deselect', dynamic onChanged(bool?)?, bool defaultValue = false, bool enabled = true, GlobalKey< FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Checkbox form field
-
numberSpinnerFormEntry(
{String title = 'Number', String subTitle = 'Select a number', double min = 1, double max = 100, double step = 1, int decimals = 0, dynamic onChanged(double?)?, String? validator(String?)?, double? defaultValue, bool enabled = true, GlobalKey< FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Number spinner form field
-
switchFormEntry(
{String title = 'Switch', String subTitle = 'Toggle option', required dynamic onToggle(bool), bool defaultValue = false, bool enabled = true, GlobalKey< FormState> ? formKey, VoidCallback? onModified, required BuildContext context}) → Widget - Switch/toggle form field