flutter_form_builder 3.2.0
flutter_form_builder: ^3.2.0 copied to clipboard
Package to build Material Form with fields like TextField, DropDown, Switches etc. with ability to create custom FormFields and composability and reuse validation functions.
3.2.0 07-Jun-2019 #
- Bumped up
flutter_typeaheadfrom v1.5.0 to 1.6.1 - Bumped up
datetime_picker_formfieldfrom v0.1.8 to 0.2.0
3.1.3 06-Jun-2019 #
3.1.2 27-May-2019 #
- Attempted fix for
FormBuilderTextFieldretaining focus even after moving to other fields causing the UI to jump back to the TextField - Improved documentation for
FormBuilderCustomField
3.1.1 16-May-2019 #
- Fixed sample code in README for example project
- Bumped up
flutter_typeaheadfrom v1.4.0 to 1.5.0
3.1.0 15-May-2019 #
- Added
leadingInputoption for CheckboxList, Checkbox and Radio - Allows the option to have the input before its label (left). Courtesy of Sven Schöne
3.0.1 28-Apr-2019 #
- Fixed bug in where
focuNodeforFormBuilderTextFieldis ignored. Closes #53 - Fixed bug in where
textEditingConfigurationforFormBuilderTypeAheadignored
3.0.0 24-Apr-2019 #
- Complete rewrite of the package - stateful field widgets
FormBuilderCheckbox- Single Checkbox fieldFormBuilderCheckboxList- List of Checkboxes for multiple selectionFormBuilderChipsInput- Takes a list of Flutter Chip as inputsFormBuilderDateTimePicker- For Date, Time and DateTime inputFormBuilderDropdown- Allow selection of one value from a list as a DropdownFormBuilderRadio- Allow selection of one value from a list of Radio WidgetsFormBuilderRate- For selection of a numerical value as a ratingFormBuilderSegmentedControl- For selection of a value from theCupertinoSegmentedControlas an inputFormBuilderSignaturePad- Presents a drawing pad on which user can doodleFormBuilderSlider- For selection of a numerical value on a sliderFormBuilderStepper- Selection of a number by tapping on a plus or minus symbolFormBuilderSwitch- On/Off switchFormBuilderTextField- For text input. Allows input of single-line text, multi-line text, password, email, urls etc by using different configurations and validatorsFormBuilderTypeAhead- Auto-completes user input from a list of items
- New
FormBuilderCustomFieldto create of customFormFields - New attribute
validatorsallows composability and reusability of differentFormFieldValidatorfunctions that do different validations - New Feature
FormBuilderValidatorscomes with common validation functionality options such as: required, min, max, minLength, maxLength, email, url, credit card etc. - Added
valueTransformer- transforms field value before saving to the final form value - Added requested
onChangedvalue notifier event on fields. Closes #45 - Prevent duplicate
attributenames in fields - assertion - Breaking changes:
FormBuilderInputOptionbecomesFormBuilderFieldOption- BuildContext is not passed down into
FormBuilder
- Fixed URL validator works correctly - tested
- Improved documentation
2.0.3 26-Mar-2019 #
- Allow
nulls inFormBuildercontrolsattribute
2.0.2 26-Mar-2019 #
- Minor fix in documentation
2.0.1 26-Mar-2019 #
- Fixed bug where fields keep losing focus
2.0.0 25-Mar-2019 #
New Features and fixes #
- New attribute
decorationforFormBuilderInput. Enables one to customizeInputDecorationlike icons, labelStyles etc - Added ability to add
GlobalKeyof typeFormBuilderStateto 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.signaturePadwhich provides a drawing pad for user signature - Added
maxattribute tochipsInputto limit the number of chips users can add - Added new attribute
maxLinesto 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,resetButtonContentAccess form state using aGlobalKey<FormBilderState> - Removed
labelandhintattributes to be replaced bydecoration
1.5.1 21-Mar-2019 #
- Fixed bugs originating from upgrading
flutter_typeaheadfrom v0.5.1 to v1.2.1
1.5.0 20-Mar-2019 #
- Now using
datetime_picker_formfieldplugin from pub for DatePicker and TimePicker. Should close #33 - Added new
FormBuilderInput- DateTimePicker - Breaking change: DatePicker, TimePicker & DateTimePicker now return an object of
type
DateTimeinstead ofString - Upgraded
flutter_typeaheadfrom 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 Futures to be compatible with Dart <2.1
1.3.2 19-Dec-2018 #
- Allow setting of
formatfor DatePicker - Fixed bug where
lastDateandfirstDatefor 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
onChangedfunction 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
FormBuilderInputtypes:- 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
FormBuilderInputtypes:- Phone
- Stepper
- Rate
- SegmentedControl
minandmaxvalidation 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_TEXTvalidates asTYPE_EMAIL- Closes #1 - Fixed initial value setting
FormBuilderInput.checkboxList()
Breaking Changes #
placeholderattribute of classFormBuilderInputrenamed 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