push<T extends Object?> method
Navigate to an anonymous page route
Implementation
Future<T?> push<T extends Object?>(
Widget page, {
RouteType? routeType,
RouteSettings? settings,
bool? maintainState,
bool? fullscreenDialog,
bool? allowSnapshotting,
}) =>
Navigator.of(this).push<T>(
_createRoute<T>(
page,
routeType: routeType,
settings: settings,
maintainState: maintainState,
fullscreenDialog: fullscreenDialog,
allowSnapshotting: allowSnapshotting,
),
);