push<T> method

Future<T?> push<T>(
  1. Route<T> route
)

Forwards execution to Navigator.push.

Implementation

Future<T?> push<T>(Route<T> route) async => state?.push(route);