pushFromBottom<T> static method

Future<T?> pushFromBottom<T>(
  1. Widget screen, {
  2. BuildContext? context,
})

Push screen from bottom to top

If you provide context, you can nest navigate in your specific context

Implementation

static Future<T?> pushFromBottom<T>(Widget screen,
        {BuildContext? context}) async =>
    navigatorState(context)?.push(
      SlideFromBottomRoute(screen),
    );