0 purchases
auto binding field
AutoBindingField #
A AutoBindingField package that automatically updates input field state based on bound variable changes, and vice versa.
Demo
Usage #
Simply import the package and use the AutoBindingField widget in your Flutter app. Here is an example:
int? age;
AutoBindingNumField(
value: age,
type: NumberType.onlyPositiveInt,
onChanged: (value) {
setState(() {
age=value as int?;
});
},
decoration: const InputDecoration(labelText: 'Age'),
),
copied to clipboard
Example #
click here for example
Issues and feedback #
Please file issues and feedback using the Github issues page for this repository.
If you have any suggestions or feedback, please send an email to [email protected] and we'll be happy to hear from you!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.