smart_form_fields 0.0.2
smart_form_fields: ^0.0.2 copied to clipboard
Behavior-first Flutter forms with validation and first-error navigation.
0.0.2 #
- Validate fields on focus loss by default.
- Keep explicit form submission validation immediate and support opt-in
change-time validation with
AutovalidateMode.onUserInteraction. - Prevent parent rebuilds from validating an
onUnfocusfield while it remains focused. - Expand the example and widget tests for focus-loss and submission validation.
0.0.1 #
- Scaffold the Flutter package.
- Add
SmartForm,SmartFormKey, andSmartFormControllerfoundations. - Add immutable
SmartFormResultsnapshots. - Add lifecycle-safe field registration with duplicate-name detection, dynamic removal, nested-form isolation, and visual-order updates.
- Add generic and text fields with race-safe synchronous and asynchronous validation.
- Add built-in required, email, length, pattern, number, minimum, and maximum validators.
- Add configurable shake, fade, or disabled error animations with reduced motion support.
- Harden first-error scrolling and focus for nested scrollables, disappearing fields, and navigation failures.