load<T extends Object?, R extends Object?> static method
Future<T?>
load<T extends Object?, R extends Object?>(
- BuildContext context,
- dynamic route, {
- bool? allowSnapshotting,
- Curve? animationCurve,
- int? animationTime,
- int? animationReserveTime,
- AnimationType? animationType,
- Map<
String, dynamic> arguments = const {}, - Color? barrierColor,
- bool? barrierDismissible,
- String? barrierLabel,
- bool? fullscreenDialog,
- String? name,
- Flag? flag,
- bool? maintainState,
- bool? opaque,
- RoutePredicate? predicate,
- R? result,
Implementation
static Future<T?> load<T extends Object?, R extends Object?>(
BuildContext context,
dynamic route, {
bool? allowSnapshotting,
Curve? animationCurve,
int? animationTime,
int? animationReserveTime,
AnimationType? animationType,
Map<String, dynamic> arguments = const {},
Color? barrierColor,
bool? barrierDismissible,
String? barrierLabel,
bool? fullscreenDialog,
String? name,
Flag? flag,
bool? maintainState,
bool? opaque,
RoutePredicate? predicate,
R? result,
}) {
return AppNavigator.of(context).push(
route,
allowSnapshotting: allowSnapshotting,
animationCurve: animationCurve,
animationTime: animationTime,
animationReserveTime: animationReserveTime,
animationType: animationType,
arguments: arguments,
barrierColor: barrierColor,
barrierDismissible: barrierDismissible,
barrierLabel: barrierLabel,
fullscreenDialog: fullscreenDialog,
name: name,
flag: flag,
maintainState: maintainState,
opaque: opaque,
predicate: predicate,
result: result,
);
}