push<TParams> static method
Future<int>
push<TParams>({
- required String url,
- TParams? params,
- bool animated = true,
- 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,
);