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..c454b55 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/