From e3a78e7668ae9dfa70c04f7c591797075f617552 Mon Sep 17 00:00:00 2001 From: LefebvreIlyas Date: Wed, 28 Oct 2020 17:43:12 +0100 Subject: [PATCH 1/2] Update to modal_bottom_sheet: ^1.0.1-dev --- lib/country_code_picker.dart | 2 +- pubspec.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/country_code_picker.dart b/lib/country_code_picker.dart index 06858569..bc8e0a21 100644 --- a/lib/country_code_picker.dart +++ b/lib/country_code_picker.dart @@ -245,7 +245,7 @@ class CountryCodePickerState extends State { barrierColor: widget.barrierColor ?? Colors.grey.withOpacity(0.5), backgroundColor: widget.backgroundColor ?? Colors.transparent, context: context, - builder: (context, scrollController) => SelectionDialog( + builder: (context) => SelectionDialog( elements, favoriteElements, showCountryOnly: widget.showCountryOnly, diff --git a/pubspec.yaml b/pubspec.yaml index b124b0b0..c454b557 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,10 +7,11 @@ environment: sdk: ">=2.2.2 <3.0.0" dependencies: - modal_bottom_sheet: ^0.2.2 flutter: sdk: flutter + modal_bottom_sheet: ^1.0.1-dev + flutter: assets: - flags/ From da0cb4d4e01caca692a64439f234ae93eef75cda Mon Sep 17 00:00:00 2001 From: LefebvreIlyas Date: Wed, 28 Oct 2020 17:44:59 +0100 Subject: [PATCH 2/2] Update version --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e2c2ff3..b11d3982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.6.1 + +- Update to modal_bottom_sheet: ^1.0.1-dev + ## 1.6.0 - Added option to change close icon and search icon diff --git a/pubspec.yaml b/pubspec.yaml index c454b557..68c3ece9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: country_code_picker description: A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search using a simple searchbox -version: 1.6.0 +version: 1.6.1 homepage: https://github.com/imtoori/CountryCodePicker environment: