push<T extends Object?, TO extends Object?> function

Future<T?> push<T extends Object?, TO extends Object?>(
  1. Widget widget, {
  2. 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)));