auto_validating_text_field 0.0.2 copy "auto_validating_text_field: ^0.0.2" to clipboard
auto_validating_text_field: ^0.0.2 copied to clipboard

outdated

To validate text field as soon as its value changes.

auto_validating_text_field #

A Flutter package which validates text field dynamically as soon as value changes.

Usage #

To use this package, add auto_validating_text_field as a dependency in your pubspec.yaml file.

Example #

AutoValidatingTextFormField( decoration: InputDecoration( hintText: "Full Name", ), focusNode: _fullNameFocusNode, controller: _fullNameController, validators: [ Validators.required(), Validators.pattern("^[a-zA-Z ]*$", errorText: "Full Name cannot contains special characters."), ], onSaved: (value) { signUpDetails.fullName = value; }, ),

Please see the example app of this package for a full example in https://github.com/rmsh03dhj/auto_validating_text_field/tree/master/example/lib.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

To validate text field as soon as its value changes.

Homepage

License

unknown (LICENSE)

Dependencies

flutter, rxdart

More

Packages that depend on auto_validating_text_field