forme 2.5.0-beta2 forme: ^2.5.0-beta2 copied to clipboard
a powerful flutter form widget , for me,for you , renamed from form_builder
2.5.0 #
- remove
onValueChanged
,onErrorChanged
,onFocusChanged
,onInitialed
,validator
,autovalidateMode
onField
, they are moved toFormeFieldListener
,validator
is renamed toonValidate
- support
onAsyncValidate
andasyncValidatorDebounce
onFormeValueFieldListener
to support async validate - remove
fieldListenable
fromFormeFieldController
- remove
lazyFieldListenable
fromFormeKey
ValueField
is not aFormField
any more- you can create a nonnull or nullable
ValueField
byValueField
's generic type , eg:ValueField<String>
is nonnull , butValueField<String?>
is nullable - remove
clearValue
fromFormeValueFieldController
- support 'autovalidateMode' on
Forme
2.1.2 #
- remove
buildTextSpan
fromFormeTextFieldController
, it cannot be compiled success before flutter 2.2.2
2.1.1 #
- bug fix: can't get current field error in onValueChanged
FormeSingleSwitch
&FormeListTile
always use material switchFormeValidates
addrange
andequals
vaidator
2.1.0 #
- remove
Cupertino
fields ,they will be moved to another package FormeSlider
andFormeRangeSlider
will perform validate in onChangeEnd ,not in onChangeFormeTextField
's controller can be cast toFormeTextController
, setTextEditingValue
andSelection
is easily via this controllerFormeValueFieldController
supportnextFocus
, used to focus next focusable widget- remove
beforeUpdateModel
fromAbstractFieldState
, you can do some logic inafterUpdateModel
AbstractFieldState
's didUpdateWidget will callafterUpdateModel
by default- bug fix
2.0.4+1 #
- bug fix: timer in
FormeRawAutocomplete
will be cancelled in dispose !
2.0.4 #
- add
modelListenable
onFormeFieldController
- after value changed , you can get old value via
FormeValueFieldController
'soldValue
- validate method add parameter
notify
, used to determine whether triggererrorListenable
FormeAsnycAutocompleteChipModel
supportmax
andexceedCallback
.
2.0.3+1 #
- bug fix: readOnlyNotifier will be disposed !
2.0.3 #
- fields add
InputDecoration
andmaxLines
properties , used to quickly specific labelText or others - add
FormeAsyncAutocompleteChip
2.0.2 #
- add
FormeAutocompleteText
- add
FormeAsyncAutocompleteText
2.0.1 #
- StatefulField support
onInitialed
, used to listenFormeFieldController
initialed - add
FormeValidateUtils
- bug fix : onErrorChanged and errorTextListenable not triggered in build
2.0.0 #
forme is completely rewrite version of https://pub.dev/packages/form_builder much more powerful and won't break your layout