flutter-bloc-forms

Installation
SKILL.md

Form Architecture with BLoC

  • Manage form state in a dedicated FormBloc (not in widget setState)
  • Each form field maps to a property in the BLoC state
  • Validate on field change (real-time) or on submit (batch) depending on UX requirements
  • Emit FormSubmitting, FormSuccess, FormError states for submission flow

Form Events

  • FieldChanged(field, value): update a single field in state
  • FormSubmitted: trigger validation and submission
  • FormReset: clear all fields and errors

Form State

Installs
141
GitHub Stars
30
First Seen
Mar 2, 2026
flutter-bloc-forms — dhruvanbhalara/skills