formx 0.4.0
formx: ^0.4.0 copied to clipboard
Build, validate and fill forms easily with extended Form and TextFormField.
Changelog #
This project adheres to Semantic Versioning.
0.4.0 Nov 07, 2023 #
-
Adds [Formx.valueModifier] and updates [FormxState.form] getter.
-
Adds [FormxState.save] and [Formx.onSaved] callback.
-
Adds [FormxState.reset].
-
Adds [FormxState.isValid].
-
Adds [FormxState.hasError].
-
Adds
notify = trueboolean to [FormxState.setValue]. -
Changes
onWidgettofieldWrapper. -
Changes
onFieldtofieldModifier. -
Changes
onDecorationtodecorationModifier. -
Changes
onErrorTexttoerrorTextModifier. -
Updates in code were made to better follow Effective Dart style and also improve developer experience:
- Adds
all_lint_rules.yaml. - Updates
analysis_optionsfor stricter lints. - Updates CHANGELOG style.
- Adds
0.3.13 Oct 23, 2023 #
- Bump to Flutter sdk 3.13.0.
- Adds support to TextFormField in sdk 3.13.0.
- Adds
undoControllerto TextFormxField. - Adds
onAppPrivateCommandto TextFormxField. - Adds
cursorOpacityAnimatesto TextFormxField. - Adds
selectionHeightStyleto TextFormxField. - Adds
selectionWidthStyleto TextFormxField. - Adds
dragStartBehaviorto TextFormxField. - Adds
contentInsertionConfigurationto TextFormxField. - Adds
clipBehaviorto TextFormxField. - Adds
scribbleEnabledto TextFormxField. - Adds
canRequestFocusto TextFormxField.
0.3.10 Oct 23, 2023 #
- Bump to Flutter sdk 3.10.0.
- Adds support to TextFormField in sdk 3.10.0.
- Adds
spellCheckConfigurationto TextFormxField. - Adds
magnifierConfigurationto TextFormxField.
0.3.7 Oct 23, 2023 #
- Bump to Flutter sdk 3.7.0.
- Adds support to TextFormField in sdk 3.7.0.
- Adds
contextMenuBuilderto TextFormxField. - Adds
onTapOutsideto TextFormxField.
0.3.0 Oct 23, 2023 #
- Adds support to TextFormField in sdk 3.0.0
- Adds FormxState.fill() method to autofill all nested fields.
- Adds Formx.at(context) and
maybeAtto access state below context. - Adds
Formx.errorTextsto access allerrorTextsby fieldtag. - Updates
FormxExceptionwith errorTexts parameter.
0.1.5 Sep 26, 2023 #
- Fixes initialValue conflict with TextEditingController.
- Fixes unnecessary didChange on setField.
0.1.1 Sep 23, 2023 #
- Fixes minor conflict with [onField].
0.1.0 Sep 22, 2023 #
- Initial pre-release.