fetch_all_videos
A new Flutter project.
Fetch All Videos package for Flutter
Note:- This package will check directory one by one and return the list of all videos path
be patient it will take some time because it will check all folders
Imports in your AndroidManifest File
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
Expample
import 'package:fetch_all_videos/fetch_all_videos.dart';
FetchAllVideos ob = FetchAllVideos();
List videos = await ob.getAllVideos();