pick static method
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),
),
);
}