pushView method

  1. @override
Future<void> pushView(
  1. BeagleRoute route,
  2. BuildContext context
)
override

Navigates to route by pushing it to the navigation history of the current navigation stack.

Returns a Future that resolves as soon as the navigation completes.

Implementation

@override
Future<void> pushView(BeagleRoute route, BuildContext context) async {
  _history.last.pushView(route, context);
}