FlutterWay / gallery_picker

MIT License
6 stars 5 forks source link

Failed to fetch thumbnail of album __ALL__ #6

Open YhomiAce opened 3 months ago

YhomiAce commented 3 months ago

Got this error

Failed to fetch thumbnail of album ALL

When trying to use Gallery picker to pick images

Here is the code Sample

Widget _selectImageFromGalleryButton(BuildContext context) { return FloatingActionButton( onPressed: () async { List<MediaFile>? mediaFiles = await GalleryPicker.pickMedia(context: context) ?? []; print(mediaFiles); // keep printing []; setState(() { _selectedFiles = mediaFiles; }); }, child: const Icon(Icons.image), ); }