Skip to content

Flutter plugin for picking images on Mobile, Desktop and Web.

License

Notifications You must be signed in to change notification settings

alann-maulana/flimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flimer

Flimer stands for Flutter Image Picker for Mobile, Desktop and Web platforms.

Combining use of packages :

Install

dependencies:
  flimer: latest

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;

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}")