to<T extends Object?> method
Future<T?> ?
to<T extends Object?>(
- Widget page(), {
- bool? opaque,
- Transition? transition,
- Curve? curve,
- Duration? duration,
- String? id,
- String? routeName,
- bool fullscreenDialog = false,
- Object? arguments,
- List<
Binding> bindings = const [], - bool preventDuplicates = true,
- bool? popGesture,
- bool showCupertinoParallax = true,
- double gestureWidth(
- BuildContext context
- CustomTransition? customTransition,
- bool rebuildStack = true,
- PreventDuplicateHandlingMode preventDuplicateHandlingMode = PreventDuplicateHandlingMode.reorderRoutes,
Implementation
Future<T?>? to<T extends Object?>(
Widget Function() page, {
bool? opaque,
Transition? transition,
Curve? curve,
Duration? duration,
String? id,
String? routeName,
bool fullscreenDialog = false,
Object? arguments,
List<Binding> bindings = const [],
bool preventDuplicates = true,
bool? popGesture,
bool showCupertinoParallax = true,
double Function(BuildContext context)? gestureWidth,
CustomTransition? customTransition,
bool rebuildStack = true,
PreventDuplicateHandlingMode preventDuplicateHandlingMode =
PreventDuplicateHandlingMode.reorderRoutes,
}) {
return _delegate?.to<T>(
page,
opaque: opaque,
transition: transition,
curve: curve,
duration: duration,
id: id,
routeName: routeName,
fullscreenDialog: fullscreenDialog,
arguments: arguments,
bindings: bindings,
preventDuplicates: preventDuplicates,
popGesture: popGesture,
showCupertinoParallax: showCupertinoParallax,
gestureWidth: gestureWidth,
customTransition: customTransition,
rebuildStack: rebuildStack,
preventDuplicateHandlingMode: preventDuplicateHandlingMode,
);
}