auto_binding_field 0.0.7 copy "auto_binding_field: ^0.0.7" to clipboard
auto_binding_field: ^0.0.7 copied to clipboard

This package that automatically updates input field state based on bound variable changes, and vice versa.

AutoBindingField #

pub package GitHub license

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'),
    ),

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!

10
likes
150
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

This package that automatically updates input field state based on bound variable changes, and vice versa.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on auto_binding_field