Skip to content

Commit

Permalink
fix issue best-flutter#7
Browse files Browse the repository at this point in the history
  • Loading branch information
yongheng_huang committed Nov 9, 2018
1 parent deea0df commit d8c2a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/_src/dropdown_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class _DropdownMenuState extends DropdownState<DropdownMenu>

int _activeIndex;

Future onShow(int index) {
TickerFuture onShow(int index) {
//哪一个是要展示的

assert(index >= 0 && index < _dropdownAnimations.length);
Expand All @@ -282,7 +282,7 @@ class _DropdownMenuState extends DropdownState<DropdownMenu>
_show = true;
});

return new Future.value(null);
return new TickerFuture.complete();
}

break;
Expand Down

0 comments on commit d8c2a81

Please sign in to comment.