flimer 1.0.1 copy "flimer: ^1.0.1" to clipboard
flimer: ^1.0.1 copied to clipboard

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

Flimer #

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

Combining use of packages :

Notes: Because of pana-issue#889 so it only detect for Web platform only.

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