to abstract method
Future<T?>
to(
- Widget page(), {
- bool? opaque,
- Transition? transition,
- Curve? curve,
- Duration? duration,
- String? id,
- String? routeName,
- bool fullscreenDialog = false,
- Object? arguments,
- List<
BindingsInterface> bindings = const <BindingsInterface>[], - bool preventDuplicates = true,
- bool? popGesture,
- bool showCupertinoParallax = true,
- double gestureWidth(
- BuildContext context
Navigates to a new page and returns a result of type T
.
Implementation
Future<T?> to(
Widget Function() page, {
bool? opaque,
Transition? transition,
Curve? curve,
Duration? duration,
String? id,
String? routeName,
bool fullscreenDialog = false,
Object? arguments,
List<BindingsInterface> bindings = const <BindingsInterface>[],
bool preventDuplicates = true,
bool? popGesture,
bool showCupertinoParallax = true,
double Function(BuildContext context)? gestureWidth,
});