pushFromBottom<T> static method
- @Deprecated('It will be removed on Nav 2025 - 3.0. Please use [push(navAni: NavAni.Bottom)]')
- Widget screen, {
- BuildContext? context,
Push screen from bottom to top
If you provide context, you can nest navigate in your specific context
Implementation
@Deprecated(
'It will be removed on Nav 2025 - 3.0. Please use [push(navAni: NavAni.Bottom)]')
static Future<T?> pushFromBottom<T>(Widget screen,
{BuildContext? context}) async =>
navigatorState(context)?.push(
SlideFromBottomRoute(screen),
);