push<TParams> static method

Future<int> push<TParams>({
  1. required String url,
  2. TParams? params,
  3. bool animated = true,
  4. NavigatorParamsCallback? poppedResult,
})

Push the page onto the navigation stack.

If a native page builder exists for the url, open the native page, otherwise open the flutter page.

Implementation

static Future<int> push<TParams>({
  required String url,
  TParams? params,
  bool animated = true,
  NavigatorParamsCallback? poppedResult,
}) =>
    ThrioNavigatorImplement.shared().push<TParams>(
      url: url,
      params: params,
      animated: animated,
      poppedResult: poppedResult,
    );