push<T extends Object?, TO extends Object?> function
Future<T?>
push<T extends Object?, TO extends Object?>(
- Widget widget, {
- PageRouteOptions? options,
打开新页面
Implementation
Future<T?> push<T extends Object?, TO extends Object?>(Widget widget,
{PageRouteOptions? options}) =>
widget.push<T>(widget,
options: (options ??= PageRouteOptions(style: FlExtended().pushStyle)));