Display all images in a directory to a list in Flutter
问题 I was wondering if there is a way i can display all images or files in a particular directory located in user's mobile device to a list/array in flutter so i can use in a ListView. Thanks any help is welcomed. PS: i wanted to try with path_provider but didn't know how to. 回答1: I was able to find a solution. I had to work with MethodChannels in other to achieve this. After writing the java code for getting the file list, i passed in into flutter through a channel Java Method for getting files