Skip to content

Commit

Permalink
Merge pull request #4 from latesr/master
Browse files Browse the repository at this point in the history
Adds override for barrierLabel getter that is required in the newest flutter master channel builds
  • Loading branch information
long1eu committed May 1, 2018
2 parents 3346409 + 46c71b5 commit a5510f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/color/dropdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class _WidgetDropdownRoute<T> extends PopupRoute<T> {
@override
Duration get transitionDuration => const Duration(milliseconds: 200);

@override
String get barrierLabel => "Dismiss";

void _dismiss() {
navigator?.removeRoute(this);
}
Expand Down
3 changes: 3 additions & 0 deletions lib/src/picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class _WidgetDropdownRoute<T> extends PopupRoute<T> {
@override
Duration get transitionDuration => const Duration(milliseconds: 200);

@override
String get barrierLabel => "Dismiss";

void _dismiss() {
navigator?.removeRoute(this);
}
Expand Down

0 comments on commit a5510f7

Please sign in to comment.