Skip to content

Commit 1ede7fb

Browse files
committed
Release v3.13.3
1 parent 0c41150 commit 1ede7fb

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [3.13.3] - 11-Aug-2020
2+
* Fix bug where CountryPicker still works in readOnly. Closes #413
3+
* Fixed bug where onChanged is not fired in CountryPicker. Closes #424
4+
* Allow null initialValue for CountryPicker. Closes #421
5+
* Minor improvements for ImagePicker on web platform. Closes #414
6+
* Added video tutorial reference to README
7+
18
## [3.13.2] - 11-Aug-2020
29
* Added `defaultImage` attribute to `FormBuilderImagePicker`, acts as placeholder. Courtesy [luwenbin8023](https://github.com/luwenbin8023)
310
* Fix bug in `FormBuilderCheckboxGroup` where `InputDecoration` isn't enabled. Closes #405

example/lib/main.dart

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ class MyApp extends StatelessWidget {
1818
// brightness: Brightness.dark,
1919
inputDecorationTheme: const InputDecorationTheme(
2020
// labelStyle: TextStyle(color: Colors.purple),
21-
border: OutlineInputBorder(
22-
gapPadding: 10,
23-
),
21+
border: OutlineInputBorder(gapPadding: 10),
2422
),
2523
),
2624
home: MyHomePage(),
@@ -64,15 +62,14 @@ class MyHomePageState extends State<MyHomePage> {
6462
initialValue: {
6563
'movie_rating': 3,
6664
'filter_chip': ['Test', 'Test 1'],
65+
'date': DateTime.now(),
6766
},
6867
readOnly: false,
6968
child: Column(
7069
children: <Widget>[
7170
FormBuilderFilterChip(
7271
attribute: 'filter_chip',
73-
decoration: const InputDecoration(
74-
labelText: 'Filter Chip',
75-
),
72+
decoration: const InputDecoration(labelText: 'Filter Chip'),
7673
options: [
7774
FormBuilderFieldOption(
7875
value: 'Test', child: Text('Test')),
@@ -171,7 +168,7 @@ class MyHomePageState extends State<MyHomePage> {
171168
FormBuilderDateTimePicker(
172169
attribute: 'date',
173170
onChanged: _onChanged,
174-
inputType: InputType.time,
171+
inputType: InputType.both,
175172
decoration: const InputDecoration(
176173
labelText: 'Appointment Time',
177174
),
@@ -471,9 +468,9 @@ class MyHomePageState extends State<MyHomePage> {
471468
),
472469
SizedBox(height: 15),
473470
FormBuilderCountryPicker(
474-
initialValue: 'Germany',
471+
// initialValue: 'Germany',
475472
attribute: 'country',
476-
cursorColor: Colors.black,
473+
readOnly: true,
477474
// style: TextStyle(color: Colors.black, fontSize: 18),
478475
priorityListByIsoCode: ['US'],
479476
valueTransformer: (value) {
@@ -491,7 +488,6 @@ class MyHomePageState extends State<MyHomePage> {
491488
SizedBox(height: 15),
492489
FormBuilderPhoneField(
493490
attribute: 'phone_number',
494-
initialValue: '+254',
495491
// defaultSelectedCountryIsoCode: 'KE',
496492
cursorColor: Colors.black,
497493
// style: TextStyle(color: Colors.black, fontSize: 18),

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ packages:
199199
name: flutter_typeahead
200200
url: "https://pub.dartlang.org"
201201
source: hosted
202-
version: "1.8.7"
202+
version: "1.8.8"
203203
flutter_web_plugins:
204204
dependency: transitive
205205
description: flutter
@@ -604,4 +604,4 @@ packages:
604604
version: "2.2.1"
605605
sdks:
606606
dart: ">=2.9.0-14.0.dev <3.0.0"
607-
flutter: ">=1.12.13+hotfix.6 <2.0.0"
607+
flutter: ">=1.20.0 <2.0.0"

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
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.13.2
3+
version: 3.13.3
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:
77
sdk: ">=2.6.0 <3.0.0"
8-
flutter: ^1.20.0
8+
flutter: ^1.20.0
99

1010
dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
flutter_typeahead: ^1.8.7
14+
flutter_typeahead: ^1.8.8
1515
intl: ^0.16.1
1616
flutter_chips_input: ^1.9.1
1717
datetime_picker_formfield: ^1.0.0

0 commit comments

Comments
 (0)