goTo<T extends Object?> method
Future<T?>
goTo<T extends Object?>(
- WidgetBuilder builder, {
- RouteSettings? settings,
- bool fullscreenDialog = false,
Implementation
Future<T?> goTo<T extends Object?>(
WidgetBuilder builder, {
RouteSettings? settings,
bool fullscreenDialog = false,
}) {
return Navigator.push<T?>(
this,
MaterialPageRoute(
builder: builder,
fullscreenDialog: fullscreenDialog,
settings: settings,
),
);
}