Last updated:
0 purchases
flimer
Flimer #
Flimer stands for Flutter Image Picker for Mobile, Desktop and Web platforms.
Combining use of packages :
image_picker : Android, iOS and Web
file_selector : MacOS, Windows and Linux
Notes: Because of pana-issue#889 so it only detect for Web platform only.
Install #
dependencies:
flimer: latest
copied to clipboard
Pick a Single Image #
final XFile? file = await flimer.pickImage(source: ImageSource.gallery);
if (file == null) {
// Operation was canceled by the user.
return;
}
final String fileName = file.name;
final String filePath = file.path;
copied to clipboard
Pick Multiple Images #
final List<XFile>? files = await flimer.pickImages();
if (files == null || files.isEmpty) {
// Operation was canceled by the user.
return;
}
print("Selected images : ${files.length}")
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.