flutter_form_fields 0.0.3 copy "flutter_form_fields: ^0.0.3" to clipboard
flutter_form_fields: ^0.0.3 copied to clipboard

outdated

Custom widgets to help developers create input fields with validations that are not available in flutter sdk.

This package provides devlopers a variety of Custom Widgets that can be used with Form.

Features #

The package contains some Widgets that can be used in the Form. They have validation function which can help developer to display error Text if input is not satisfied by the function. By Default Flutter sdk doesn't povide validation Feature on some input fields.

Getting started #

Add flutter_form_fields under dependencies in pubspec.yaml file.

example #

[]

Usage #

ValueNotifier<String> radioValue = ValueNotifier('');
ValueNotifier<File?> imageFile = ValueNotifier(null);
RadioFormField(
            radioValue: radioValue,
            validator: (val) {
              if (radioValue.value == '') {
                return "Please Select at least one option";
              }
              return null;
            },
          ),

ProfileImageFormField(
            imageFile: profileImage,
            validator:(imageFile){
               /// Validation Condition
            }
          ),

Additional information #

See example section to see more about using this package.

5
likes
0
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Custom widgets to help developers create input fields with validations that are not available in flutter sdk.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, image_picker

More

Packages that depend on flutter_form_fields