flutter_form_builder 3.0.0-beta.9 flutter_form_builder: ^3.0.0-beta.9 copied to clipboard
Package to build Material Form with components such as TextField (With number, url, email validation), DropDown, TypeAhead, Radios, Checkboxes
[3.0.0-beta.9] - 15-April-2019 #
- Added property
fields
to FormBuilder, gives access to the current state of each field through a Map ofGlobalKey<FormFieldState<dynamic>>
s. This gives us access to the underlying FormField which in turn allows us:- Do conditional validation based on other fields (check readme)
- Dynamically update field values
[3.0.0-beta.8] - 10-April-2019 #
- Fixed unhandled exception when
valueTransformer
tries to convert value from predefinedFormField
type
[3.0.0-beta.7] - 09-April-2019 #
- Check if value candidate is of type String, Iterable or Map before checking length to determine empty in
FormValidators.required
[3.0.0-beta.6] - 09-April-2019 #
- Properly hooked up SignaturePad to form, added onChanged to it
- SignaturePad now returns
Uint8List
object frompng
image
[3.0.0-beta.5] - 08-April-2019 #
- Minor documentation improvements - hint for GlobalKey definition, table rendering issue in README
[3.0.0-beta.4] - 08-April-2019 #
- Breaking changes:
FormBuilderInputOption
becomesFormBuilderFieldOption
FormBuilderField
becomesFormBuilderCustomField
- Improved documentation
- added
valueTransformer
- transforms field value before saving to form value
[3.0.0-beta.3] - 07-April-2019 #
- Bumped up
flutter_typeahead
dependency from^1.2.1
to^1.4.0
- Fixed URL validator works correctly - tested
- Added more validators:
- IP
- Credit Card
- Date
- Added requested
onChanged
value notifier event on fields. Closes #45
[3.0.0-beta.2] - 04-April-2019 #
- Disabled
TextFormField.strutStyle
fromFormBuilderTextField
breaks in v1.2.1 of Flutter - current stable at release
[3.0.0-beta.1] - 04-April-2019 #
- Complete rewrite of the package - stateful
- Contains
FormBuilderField
for creation of customFormField
s - New attribute
validators
allows composability and reusability of differentFormFieldValidator
functions that do different validations - New Feature
FormBuilderValidators
comes with common validation functionality options such as: required, min, max,
[2.0.3] - 26-March-2019 #
- Allow
null
s inFormBuilder
controlsattribute
[2.0.2] - 26-March-2019 #
- Minor fix in documentation
[2.0.1] - 26-March-2019 #
- Fixed bug where fields keep losing focus
[2.0.0] - 25-March-2019 #
New Features and fixes #
- New attribute
decoration
forFormBuilderInput
. Enables one to customizeInputDecoration
like icons, labelStyles etc - Added ability to add
GlobalKey
of typeFormBuilderState
to FormBuilder that will be the handle to the state of the form enabling saving and resetting. Similar to using Flutter'sForm
. - Added new input type
FormBuilder.signaturePad
which provides a drawing pad for user signature - Added
max
attribute tochipsInput
to limit the number of chips users can add - Added new attribute
maxLines
to be used with textFields with multiple lines - Fixed bug where readonly not working to Date, Time and DateTime Pickers
Breaking Changes #
- Removed reset/submit buttons and corresponding attributes:
showResetButton
,resetButtonContent
Access form state using aGlobalKey<FormBilderState>
- Removed
label
andhint
attributes to be replaced bydecoration
[1.5.1] - 21-March-2019 #
- Fixed bugs originating from upgrading
flutter_typeahead
from v0.5.1 to v1.2.1
[1.5.0] - 20-March-2019 #
- Now using
datetime_picker_formfield
plugin from pub for DatePicker and TimePicker. Should close #33 - Added new
FormBuilderInput
- DateTimePicker - Breaking change: DatePicker, TimePicker & DateTimePicker now return an object of
type
DateTime
instead ofString
- Upgraded
flutter_typeahead
from v0.5.1 to v1.2.1 - comes with more widgets options
[1.4.0] - 29-Jan-2019 #
[1.3.5] - 28-Jan-2019 #
- Fixed bug on Slider where current value not updated on slider & label
[1.3.4] - 19-Jan-2019 #
Bug fix: Imported dart:async
for use of Future
s to be compatible with Dart <2.1
[1.3.2] - 19-Dec-2018 #
- Allow setting of
format
for DatePicker - Fixed bug where
lastDate
andfirstDate
for DatePicker don't work
[1.3.1] - 17-Dec-2018 #
[1.3.0] - 15-Dec-2018 #
- Fixed bug where TypeAhead value reset when other fields are updated
onChanged
function for FormBuilder is now called with current form values (breaking change)- Form reset now works as expected
- Other minor refactorings
[1.2.0] - 23-Nov-2018 #
- New
FormBuilderInput
types:- ChipsInput
- Some bug fixes
- Minor UI improvements
- Some bugs introduced, to be fixed later
[1.1.0] - 19-Nov-2018 #
- Fixed bug where validation not working for fields outside screen (when using ListView) - Flutter Issue #17385
- Added InputDecoration for all custom FormFields
[1.0.2] - 7-Nov-2018 #
- Fixed bug in (un)selecting checkbox list using by clicking its label
[1.0.1] - 3-Nov-2018 #
- Minor improvements to documentation, added known issues section too
[1.0.0] - 3-Nov-2018 #
Features #
- New
FormBuilderInput
types:- Phone
- Stepper
- Rate
- SegmentedControl
min
andmax
validation added to number field and textField- More specialized keyboard types for TextField control types (text, number, url, email, multiline, phone etc)
- Tapping on Label for radio/checkbox changes the control value
- Created new constructors for password and textField inputs
- Added resetButton
Fixes #
- Fixed bug where
TYPE_TEXT
validates asTYPE_EMAIL
- Closes #1 - Fixed initial value setting
FormBuilderInput.checkboxList()
Breaking Changes #
placeholder
attribute of classFormBuilderInput
renamed tohint
- Removed default constructor for
FormBuilderInput
[0.0.1] - 1-Nov-2018. #
- Initial Release
- Input Types:
- Text
- Number
- MultilineText
- Password
- Radio
- CheckboxList
- Checkbox
- Switch
- Slider
- Dropdown
- DatePicker
- TimePicker
- Url
- TypeAhead