push<T> static method
Push with the default platform-aware transition (fade / cupertino).
Implementation
static Future<T?> push<T>(
BuildContext context,
String routeName, {
Object? arguments,
}) => pushNamed<T>(
context,
routeName,
arguments: arguments,
transitionType: _defaultTransition,
);