Skip to content

Commit

Permalink
Release v3.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
danvick committed Aug 22, 2020
1 parent 0c41150 commit 1ede7fb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [3.13.3] - 11-Aug-2020
* Fix bug where CountryPicker still works in readOnly. Closes #413
* Fixed bug where onChanged is not fired in CountryPicker. Closes #424
* Allow null initialValue for CountryPicker. Closes #421
* Minor improvements for ImagePicker on web platform. Closes #414
* Added video tutorial reference to README

## [3.13.2] - 11-Aug-2020
* Added `defaultImage` attribute to `FormBuilderImagePicker`, acts as placeholder. Courtesy [luwenbin8023](https://github.com/luwenbin8023)
* Fix bug in `FormBuilderCheckboxGroup` where `InputDecoration` isn't enabled. Closes #405
Expand Down
16 changes: 6 additions & 10 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class MyApp extends StatelessWidget {
// brightness: Brightness.dark,
inputDecorationTheme: const InputDecorationTheme(
// labelStyle: TextStyle(color: Colors.purple),
border: OutlineInputBorder(
gapPadding: 10,
),
border: OutlineInputBorder(gapPadding: 10),
),
),
home: MyHomePage(),
Expand Down Expand Up @@ -64,15 +62,14 @@ class MyHomePageState extends State<MyHomePage> {
initialValue: {
'movie_rating': 3,
'filter_chip': ['Test', 'Test 1'],
'date': DateTime.now(),
},
readOnly: false,
child: Column(
children: <Widget>[
FormBuilderFilterChip(
attribute: 'filter_chip',
decoration: const InputDecoration(
labelText: 'Filter Chip',
),
decoration: const InputDecoration(labelText: 'Filter Chip'),
options: [
FormBuilderFieldOption(
value: 'Test', child: Text('Test')),
Expand Down Expand Up @@ -171,7 +168,7 @@ class MyHomePageState extends State<MyHomePage> {
FormBuilderDateTimePicker(
attribute: 'date',
onChanged: _onChanged,
inputType: InputType.time,
inputType: InputType.both,
decoration: const InputDecoration(
labelText: 'Appointment Time',
),
Expand Down Expand Up @@ -471,9 +468,9 @@ class MyHomePageState extends State<MyHomePage> {
),
SizedBox(height: 15),
FormBuilderCountryPicker(
initialValue: 'Germany',
// initialValue: 'Germany',
attribute: 'country',
cursorColor: Colors.black,
readOnly: true,
// style: TextStyle(color: Colors.black, fontSize: 18),
priorityListByIsoCode: ['US'],
valueTransformer: (value) {
Expand All @@ -491,7 +488,6 @@ class MyHomePageState extends State<MyHomePage> {
SizedBox(height: 15),
FormBuilderPhoneField(
attribute: 'phone_number',
initialValue: '+254',
// defaultSelectedCountryIsoCode: 'KE',
cursorColor: Colors.black,
// style: TextStyle(color: Colors.black, fontSize: 18),
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ packages:
name: flutter_typeahead
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.7"
version: "1.8.8"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -604,4 +604,4 @@ packages:
version: "2.2.1"
sdks:
dart: ">=2.9.0-14.0.dev <3.0.0"
flutter: ">=1.12.13+hotfix.6 <2.0.0"
flutter: ">=1.20.0 <2.0.0"
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: flutter_form_builder
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.
version: 3.13.2
version: 3.13.3
homepage: https://github.com/danvick/flutter_form_builder

environment:
sdk: ">=2.6.0 <3.0.0"
flutter: ^1.20.0
flutter: ^1.20.0

dependencies:
flutter:
sdk: flutter

flutter_typeahead: ^1.8.7
flutter_typeahead: ^1.8.8
intl: ^0.16.1
flutter_chips_input: ^1.9.1
datetime_picker_formfield: ^1.0.0
Expand Down

0 comments on commit 1ede7fb

Please sign in to comment.