Skip to content

Commit

Permalink
v2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Ioannou committed Apr 5, 2022
1 parent ca679ee commit 6fa665d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.12"
version: "2.0.13"
fake_async:
dependency: transitive
description:
Expand Down
3 changes: 2 additions & 1 deletion lib/src/country_list_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ Widget _builder(
) {
final device = MediaQuery.of(context).size.height;
final statusBarHeight = MediaQuery.of(context).padding.top;
final height = countryListTheme?.bottomSheetHeight ?? device - (statusBarHeight + (kToolbarHeight / 1.5));
final height = countryListTheme?.bottomSheetHeight ??
device - (statusBarHeight + (kToolbarHeight / 1.5));

Color? _backgroundColor = countryListTheme?.backgroundColor ??
Theme.of(context).bottomSheetTheme.backgroundColor;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/country_list_theme_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ class CountryListThemeData {
this.flagSize,
this.inputDecoration,
this.borderRadius,
this.bottomSheetHeight
this.bottomSheetHeight,
});
}
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ packages:
name: lint
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.2"
matcher:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: country_picker
description: A flutter package to select a country from a list of countries.

version: 2.0.12
version: 2.0.13

homepage: https://github.com/Daniel-Ioannou
repository: https://github.com/Daniel-Ioannou/flutter_country_picker
Expand All @@ -16,6 +16,6 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
lint: ^1.8.1
lint: ^1.8.2

flutter:

0 comments on commit 6fa665d

Please sign in to comment.