pushView method
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);
}