Skip to content

Commit b4c835a

Browse files
committed
Added changelog for v3.11.2
1 parent 689147a commit b4c835a

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [3.11.2] - 19-Jun-2020
2+
* Deprecated `initialValue` for Signature field - here's no easy way of converting `Uint8List` to `List<Point>`. Use SignatureController to set initial signature
3+
* Added `displayValues` attribute to Slider and RangeSlider - choose which values to display under the slider
4+
15
## [3.11.1] - 15-Jun-2020
26
* Bumped up flutter_chips_input version. Contains major fix
37
* Fixed bug preventing use of non-String value for `FormBuilderTypeAhead`.

lib/src/fields/form_builder_range_slider.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,16 @@ class _FormBuilderRangeSliderState extends State<FormBuilderRangeSlider> {
125125
),
126126
Row(
127127
children: <Widget>[
128-
if (widget.displayValues != DisplayValues.none && widget.displayValues != DisplayValues.current)
128+
if (widget.displayValues != DisplayValues.none &&
129+
widget.displayValues != DisplayValues.current)
129130
Text('${widget.min}'),
130131
Spacer(),
131-
if (widget.displayValues != DisplayValues.none && widget.displayValues != DisplayValues.minMax)
132+
if (widget.displayValues != DisplayValues.none &&
133+
widget.displayValues != DisplayValues.minMax)
132134
Text('${field.value.start} - ${field.value.end}'),
133135
Spacer(),
134-
if (widget.displayValues != DisplayValues.none && widget.displayValues != DisplayValues.current)
136+
if (widget.displayValues != DisplayValues.none &&
137+
widget.displayValues != DisplayValues.current)
135138
Text('${widget.max}'),
136139
],
137140
),

lib/src/fields/form_builder_signature_pad.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import 'package:signature/signature.dart';
99
class FormBuilderSignaturePad extends StatefulWidget {
1010
final String attribute;
1111
final List<FormFieldValidator> validators;
12-
@Deprecated('There is currently no way of converting Uint8List to List<Point> - https://github.com/4Q-s-r-o/signature/issues/17.'
12+
@Deprecated(
13+
'There is currently no way of converting Uint8List to List<Point> - https://github.com/4Q-s-r-o/signature/issues/17.'
1314
'To Pass a list of points is initial value use `SignatureController`.')
1415
final Uint8List initialValue;
1516
final bool readOnly;

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

66
environment:

0 commit comments

Comments
 (0)