How to Pick Multiple Video From Gallery in Flutter

EveryOne I want to pick multiple video from gallery and show in my flutter app but I am unable to do this.

>Solution :

You can use file_picker, it has option to pick/upload multiple files i.e

FilePickerResult? result = await FilePicker.platform.pickFiles(allowMultiple: true);

as well as Multiple files with extension filter i.e

FilePickerResult? result = await FilePicker.platform.pickFiles(
  type: FileType.custom,
  allowedExtensions: ['jpg', 'pdf', 'doc'],

Leave a Reply