navigate method

Future<void> navigate(
  1. BuildContext context
)
inherited

Calls StackRouter.navigate with this route on the nearest router

Implementation

Future<void> navigate(BuildContext context) {
  return context.router.navigate(this);
}