push<T> method

  1. @override
Future<T?> push<T>(
  1. Destination destination
)
override

Pushes destination above the active page stack.

Implementation

@override
Future<T?> push<T>(Destination destination) {
  if (_openExternal(destination, replace: false)) {
    return SynchronousFuture<T?>(null);
  }
  return _provider.push<T>(destination.uri);
}