pick static method

Future<List<MediaEntity>?> pick(
  1. BuildContext context
)

Implementation

static Future<List<MediaEntity>?> pick(BuildContext context) {
  return Navigator.of(context).push<List<MediaEntity>>(
    SlideTransitionPageRoute(
      builder: const GalleryView(),
      transitionCurve: Curves.easeIn,
      settings: const RouteSettings(name: name),
    ),
  );
}