Skip to content
pubscout

flutter_form_builder

11.0.0, released 3 months ago by flutterformbuilderecosystem.com

Helps create forms in Flutter by removing boilerplate code and reusing validation.

WASM-readyUses material_ui
$ flutter pub add flutter_form_builder
Source repository

What it does

It provides ready-made form input fields integrated with FormBuilder to easily validate values, react to changes, and collect final user input without writing extensive manual boilerplate.

AI-written summary of version 11.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building data collection forms with multiple fields and need a unified way to manage state and validation.
  • You want standard input components like checkboxes, dropdowns, date-time pickers, and text fields wrapped for forms.

Skip it when

  • You prefer managing every FormField manually without a centralized FormBuilder state controller.

Strengths

  • Removes significant boilerplate code for forms.
  • Includes many common ready-made input fields out-of-the-box.
  • Provides programmatic field value patching and validation invalidation.

Weaknesses

  • Validators require a separate package (form_builder_validators).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
final _formKey = GlobalKey<FormBuilderState>();

FormBuilder(
    key: _formKey,
    child:  FormBuilderTextField(
        name: 'text',
        onChanged: (val) {
            print(val);
        },
    ),
)

Alternatives

Packages that do the same job and could replace flutter_form_builder.

  • formz

    Choose formz if you prefer a modular, pure-Dart approach to independent form input validation without UI form builders.

Works with

Packages commonly used together with flutter_form_builder: ones it builds on, ones built on it, and its own family.