How can I access All Files inside device of specific type (e.g image, audios, videos) etc in flutter - flutter

I want to make my own media picker, where I will open screen and show all images of device in case of image picker, show all audios on the device in case of audio picker and all videos for video picker. The method must work on both android and IOS. I am using flutter Dart to do this. I am new in flutter and any help will be highly appricated.
I have tried Flutter File manager and unable to do this.

There is a package available named File Picker have look into it. Its very well documented.

Related

How to save photo taken by flutter camera app to gallery? NB: I want to use camera app created by flutter

I am a beginner to Flutter, and I managed to create a flutter camera app with lot of reference from many sites. But now I am struggling to save the image to phone gallery. I don't want to use image picker for that purpose and I tried gallery saver package as well. Nothing is working. Please help me with the issue??

Flutter: How to pick image and mark the image as "picked" with a check mark in the gallery?

I am building a social app using flutter. I am using image_picker package to pick image and videos from gallery but I also want to mark all the images in the gallery which are already picked with a "check mark", so that user knows while picking more images which ones are already picked by him. Can someone suggest how to implement this?
This should be a feature of the image_picker package btw.

Flutter: Preview one or more images from the phone gallery?

I am using the camera plugin in flutter with a custom camera preview interface but I would want to include into the interface a list at the bottom of the screen a list of photos currently inside my photo gallery....Is there a plugin for flutter that I can use to preview photos from my photo gallery?
check image_picker plugin for Flutter
https://pub.dartlang.org/packages/image_picker#-readme-tab-
I believe I found a plugin that you were asking for. The plugin is called photo_manager.
From the photo_manager Readme:
A flutter api for photo, you can get image/video from ios or android.
If you just need a picture selector, you can choose to use photo library , a multi image picker.
I hope this helps and happy coding!

How to know the nominal resolution of an image to use as an asset in flutter?

I have some photos of different sizes for different android and iOS devices. Like, a photo in 800x1280 resolution and in 540x960.
Flutter Docs say that if I place those photos in a proper way, Flutter will use the best suiting one to my device as an asset. But how should I place them? Which resolution is 1.0x, which one is 2.0x and so on?
The related part of Flutter Docs is here:
Declaring resolution-aware image assets - flutter.io

iphone built in gallery viewer

In my application I have a list of UIImages downloaded from web. I need to create a gallery where these images can be rotatable, zoomable and swap to view the next and previous. Is there a way to open images in iphone built in gallery viewer. or I will have to make it all through.
The functionality is known as UIImagePickerController.
Check this for more details :
http://zcentric.com/2008/08/28/using-a-uiimagepickercontroller/