push<E> method

Future<E?> push<E>(
  1. BuildContext context
)

Calls StackRouter.push with this route on the nearest router

Implementation

Future<E?> push<E>(BuildContext context) {
  return context.router.push<E>(this);
}