FLUTTER ECOSYSTEM

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.

form_bloc cover
Latest version
0.31.0
30-day downloads
853
Likes
155
Pub points
130

Package Overview

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

Overview

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
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add form_bloc

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects

No data available yet.