Skip to content

Commit 01cf41c

Browse files
committed
Release v3.12.2
1 parent 6175a1e commit 01cf41c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
## [3.12.2] - 03-Aug-2020
2+
* Convert FormBuilderRating value to double for RatingBar. Closes #392
3+
14
## [3.12.1] - 03-Aug-2020
25
* Deprecate `FormBuilderRadio` in favour of `FormBuilderRadioGroup`
36
* Deprecate `FormBuilderCheckbox` in favour of `FormBuilderCheckboxGroup`
4-
* Convert FormBuilderRating value to double for RatingBar. Closes #392
7+
* Fix bug `"NoSuchMethodError: invalid member on null: 'initialValue'"` when fields not wrapped in `FormBuilder`
58

69
## [3.12.0] - 24-Jul-2020
710
* Added new field `FormBuilderCheckboxGroup`. Closes #188

lib/src/fields/form_builder_checkbox.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class _FormBuilderCheckboxState extends State<FormBuilderCheckbox> {
112112
} else {
113113
_formState?.setAttributeValue(widget.attribute, val);
114114
}
115-
widget.onSaved?.call(transformed ?? val);
115+
widget.onSaved?.call(transformed ?? val);
116116
},
117117
builder: (FormFieldState<dynamic> field) {
118118
return InputDecorator(

lib/src/fields/form_builder_color_picker.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ class _FormBuilderColorPickerState extends State<FormBuilderColorPicker> {
175175
borderRadius: BorderRadius.all(
176176
Radius.circular(constraints.minHeight / 2),
177177
),
178-
border: Border.all(color: field.value ?? defaultBorderColor),
178+
border:
179+
Border.all(color: field.value ?? defaultBorderColor),
179180
),
180181
);
181182
},

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.12.1
3+
version: 3.12.2
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:

0 commit comments

Comments
 (0)