showAsync method

  1. @override
FutureOr<bool> showAsync()
override

Implementation

@override
FutureOr<bool> showAsync() {
  if (showKey == null) return super.showAsync();

  return EventQueue.run(showKey, () {
    return super.showAsync().then((value) => future.then((_) => value));
  });
}