Home > Mobile >  How to Pick Multiple Video From Gallery in Flutter
How to Pick Multiple Video From Gallery in Flutter

Time:03-20

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

CodePudding user response:

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'],
);
  • Related