Search packages, repositories and app categories

flutter_form_bloc cover
Package detailsv0.31.0

flutter_form_bloc

Create Beautiful Forms in Flutter. The easiest way to Prefill, Async Validation, Update Form Fields, and Show Progress, Failures or Navigate by Reacting to the Form State.

30-day downloads
586
Likes
227
Pub points
60

Install package

flutter pub add flutter_form_bloc

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

flutter_form_bloc is a Flutter package that simplifies form creation with powerful features like prefilling form fields, asynchronous validation, dynamic field updates, and seamless state-driven UI reactions. It enables developers to build beautiful, reactive forms that respond to state changes by showing loading indicators, errors, or navigating between screens. The package integrates smoothly with Flutter’s widget tree and promotes clean, maintainable code through state management based on form events and states. Ideal for complex forms requiring real-time feedback and dynamic behavior.

Use cases

  • Building dynamic and reactive forms
  • Handling async validation in forms
  • Prefilling forms with existing data
  • Managing form state transitions
  • Automating navigation based on form state
  • Displaying loading and error states

Key features

  • Async validation support
  • Form state reaction for UI updates
  • Easy prefilling of form fields
  • Dynamic field updates
  • Built-in form event handling
  • State-driven navigation

Suitable for

  • Developers building complex forms
  • Teams prioritizing maintainable form logic
  • Projects requiring real-time form feedback
  • Apps with heavy form interaction
  • Flutter developers using reactive patterns
  • Projects needing robust form state management

Considerations

  • Requires understanding of reactive programming concepts
  • May add overhead for simple forms
  • Depends on form_bloc core package
  • Limited documentation beyond basic examples
  • Best suited for larger applications with complex form workflows

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

form_bloc

Package Pub
form_bloc pub package
flutter_form_bloc pub package

Easy Form State Management using BLoC pattern. Separate the Form State and Business Logic from the User Interface.

🔥👉 Documentation and Tutorials 👈🔥

  • [x] Synchronous Field Validation
  • [x] Asynchronous Field Validation
  • [x] Easy Loading and Initializing
  • [x] Wizard / Stepper Forms
  • [x] Submission Progress
  • [x] Success / Failure Response
  • [x] Serializable Form
  • [x] Submission Errors to Fields
  • [x] Dynamic Fields
  • [x] Conditional Fields
  • [x] List Fields
  • [x] Group Fields
  • [x] CRUD Support
  • [x] Beautiful Built-In Widgets

Examples

Maintainers

Categories

Dependencies

Dependency list 7 items

Source repository

Projects using this package

No data available yet.