diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e2c2ff..b11d398 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/lib/country_code_picker.dart b/lib/country_code_picker.dart index 0685856..bc8e0a2 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 b124b0b..68c3ece 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,16 +1,17 @@ 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: 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/