Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 839 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 839 Bytes

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