Skip to content
pubscout

fform

5.2.7, released 2 months ago by bangertstudio.kz

Build forms with fields, validations, and state management in Flutter.

WASM-ready
$ flutter pub add fform
Source repository

What it does

FForm provides components and mixins to build and manage form states, individual field validations, and UI binding via FFormBuilder. It supports synchronous and asynchronous validation, custom exceptions, and multi-form structures.

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

Use it when

  • You need robust state and validation handling for complex Flutter forms.
  • You want support for async field validation or custom field exceptions.

Skip it when

  • You prefer simple TextFormField controllers without a dedicated form state model.
  • You are using another comprehensive form state library like formz.

Strengths

  • Stream- and listener-based state updates
  • Supports custom validation exceptions and async validators
  • Mixins for fields like keyed fields, cached fields, and focus tracking

Weaknesses

  • Requires learning a custom form and field model API
  • Documentation is mostly limited to README examples

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
class LoginForm extends FForm {
  EmailField email;
  
  LoginForm({
    required this.email,
  }): super(fields: [email]);
}

Alternatives

Packages that do the same job and could replace fform.

  • formz

    If you prefer a lightweight value-holder validation library that integrates well with BLoC or other state management solutions.