Search packages, repositories and app categories

form_bloc cover
Package detailsv0.31.0

form_bloc

Easy Form State Management using BLoC pattern. Separate the Form State and Business Logic from the User Interface. Async Validation, Progress, Dynamic fields, and more.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.4K
Likes
155
Pub points
130

Install package

flutter pub add form_bloc

Package Overview

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

form_bloc is a Flutter package that simplifies form state management by implementing the BLoC pattern. It separates form state and business logic from the UI, enabling clean, testable code. Supports asynchronous validation, loading states, dynamic fields, and seamless integration with Flutter's reactive architecture. Ideal for complex forms requiring real-time feedback and state persistence. The package is platform-agnostic, working across Android, iOS, Web, macOS, Windows, and Linux.

Use cases

  • Complex form handling
  • Real-time validation
  • Dynamic form fields
  • Async form submission
  • Stateful form UIs
  • Form testing

Key features

  • BLoC-based state management
  • Async validation support
  • Dynamic field generation
  • Loading and error states
  • Reactive UI updates
  • Easy testing

Suitable for

  • Developers using BLoC pattern
  • Apps with complex forms
  • Teams prioritizing testability
  • Large-scale Flutter applications
  • Form-heavy workflows

Considerations

  • Requires understanding of BLoC pattern
  • Learning curve for beginners
  • Limited to form-specific use cases
  • May add overhead for simple forms

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 6 items

Source repository

Projects using this package

No data available yet.