flutter_form_registry 0.6.5
flutter_form_registry: ^0.6.5 copied to clipboard
A workaround to track some FormFields in the tree. Support checking `FormField` is fully visible and scrolling into the view.
0.6.5 #
- No code changes.
- Bump to version 0.6.5.
- Update README.
0.6.4 #
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
0.6.3 #
- Fix the form field registrant did not fully unregister.
- Change the return type of
FormRegistryWidgetState.registeredFieldsandFormRegistryWidgetState.invalidFieldstoUnmodifiableListView. - Add link to repository in pubspec.
- Update docs.
- Update README.
0.6.2 #
- No code changes.
- Bump to version 0.6.2.
- Update pubspec decription.
- Update README.
0.6.1 #
- update docs
0.6.0 #
- Add
FormRegistryWidgetState.invalidFieldsgetter. - Add
FormRegistryWidgetState.getFieldBy()method. - Add
RegisteredField.isValid()andvalidate()methods. - update docs
0.5.0 #
-
Breaking:
-
Rename
registryIdtoregistrarId -
rename
*RegisteredWidgetclass by*Registrant-
FormFieldRegisteredWidgetMixintoFormFieldRegistrantMixin -
FormFieldStateRegisteredWidgetMixintoFormFieldStateRegistrantMixin -
FormFieldRegisteredWidgettoFormFieldRegistrant
-
-
-
improve performance of
FormRegistryWidget.maybeOfmethod
0.4.3 #
- update docs
- fix
hashValueswas deprecated
0.4.2 #
- update docs
0.4.1 #
- fix #e761e6d
0.4.0 #
- Give a way to reuse or be capable of using existed form field key on
FormFieldRegisteredWidgetby adding that key toformFieldKey
0.3.5 #
- using ! operator
0.3.4 #
- fix:
RegisteredField.isFullyVisiblereturn false when viewport is_RenderSingleChildViewport
0.3.3 #
- using
FormRegistryWidget.maybeOfinstead of callingfindAncestorStateOfTypedirectly
0.3.2 #
- update FormFieldStateRegisteredWidgetMixin.didChangeDependencies
0.3.1 #
- fix scrollToIntoView did not scroll exactly when using FormFieldRegisteredWidget
0.3.0 #
-
Change environmental requirements: minimum flutter version is 3.0.0
-
fix typo
0.2.0 #
- Add scroll delay.
0.1.0 #
-
Breaking:
-
Rename
fieldNametoregistryId -
Rename
firstErrortofirstInvalid
-
-
Add
lookupPriorityto change theFormRegistryWidgetState.firstInvalid -
fix: when using
FormFieldRegisteredWidget, if the provided key did not pass to the form field, unregister that field.
0.0.3 #
-
Change environmental requirements: minimum flutter version is 2.5.0
-
Remove Restoration ID from
RegisteredField -
rewrite didChangeDependencies
0.0.2 #
-
override == operator of
RegisteredField -
Change the type of variable
FormRegistryWidgetState._registeredFieldstoSet -
override deactivate method
0.0.1 #
-
Initial release contains the following features:
-
Tracking registered widget.
-
Auto-scroll to the first Form's invalid field.
-
Each registered FormField widget contains its key, error text and method to scroll its into view and check is it fully visible.
-