Skip to content

Commit 59d0b62

Browse files
committed
Added changelog for v3.11.0
1 parent 7f5019b commit 59d0b62

File tree

5 files changed

+26
-3
lines changed

5 files changed

+26
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [3.11.0] - 14-Jun-2020
2+
* Added `FormBuilderRadioGroup` field
3+
* Revised ImageSourceSheet to use the new Image Picker api, and added support for web platform.
4+
* Add `textAlignVertical` attribute option to FormBuilderTextField
5+
* Included additional configuration options to the FormBuilderImagePicker: `maxHeight`, `maxWidth`, `imageQuality`, `preferredCameraDevice` & `maxImages`
6+
* Added `alwaysUse24HourFormat` option to DateTimePicker. Closes #297
7+
* Revert focus to PhoneField TextField after country selected. Closes #302
8+
* Validate PhoneField only if phone number has value, not country only
9+
* Bumped up flutter_typeahead version. Contains keyboard visibility fix
10+
* Bumped up flutter_chips_input version with multiple fixes and improvements.
11+
* Show Country flag to PhoneField
12+
113
## [3.10.1] - 17-May-2020
214
* Added delete icon on selected images in ImagePicker instead of non-intuitive long-press to delete. Closes #278
315
* Added contentPadding option to Checkbox, CheckboxList, Radio and Switch to allow spacing of items in list options. Closes #280

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ The currently supported fields include:
204204
* `FormBuilderImagePicker` - Picker a image from Gallery or Camera and stores it in a List of images, File or String. **Note**: This picker is available for iOS and Android.
205205
* `FormBuilderPhoneField` - International phone number input.
206206
* `FormBuilderRadio` - Used to select one value from a list of Radio Widgets
207+
* `FormBuilderRadioGroup` - Used to select one value from a list of Radio Widgets
207208
* `FormBuilderRangeSlider` - Used to select a range from a range of values
208209
* `FormBuilderRate` - For selection of a numerical value as a rating
209210
* `FormBuilderSegmentedControl` - For selection of a value from the `CupertinoSegmentedControl` as an input
@@ -382,7 +383,7 @@ Here are other field types for `flutter_form_builder`:
382383
- [X] Assert no duplicates in `FormBuilderInput`s `attribute` names
383384
- [X] Allow options for Checkboxes and Radios to appear left or right - Done via `leadingInput` courtesy of [Sven Schöne](https://github.com/SvenSchoene)
384385
- [X] Use flutter_touch_spin for FormBuilderStepper. Possibly rename to FormBuilderTouchSpin in next major version
385-
- [ ] For RangeSlider use Flutter provided
386+
- [X] For RangeSlider use Flutter provided
386387

387388
### Known Issues
388389
* Setting `autovalidate` to `true` validates fields immediately they're rendered even if pristine - which is the default behavior in Flutter

example/lib/main.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,16 @@ class MyHomePageState extends State<MyHomePage> {
526526
onChanged: _onChanged,
527527
),
528528
SizedBox(height: 15),
529+
FormBuilderRadioGroup(
530+
attribute: 'radio_group',
531+
decoration: InputDecoration(labelText: 'Radio Group'),
532+
onChanged: _onChanged,
533+
options: [
534+
FormBuilderFieldOption(value: 'Male',),
535+
FormBuilderFieldOption(value: 'Female',),
536+
],
537+
),
538+
SizedBox(height: 15),
529539
FormBuilderCustomField(
530540
attribute: 'name',
531541
validators: [

lib/src/fields/form_builder_date_time_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class _FormBuilderDateTimePickerState extends State<FormBuilderDateTimePicker> {
369369
textDirection: widget.textDirection,
370370
useRootNavigator: widget.useRootNavigator,
371371
builder: widget.builder ??
372-
(BuildContext context, Widget child) {
372+
(BuildContext context, Widget child) {
373373
return MediaQuery(
374374
data: MediaQuery.of(context).copyWith(
375375
alwaysUse24HourFormat: widget.alwaysUse24HourFormat),

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_form_builder
22
description: 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-
version: 3.10.1
3+
version: 3.11.0
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:

0 commit comments

Comments
 (0)