image_select 0.0.4 copy "image_select: ^0.0.4" to clipboard
image_select: ^0.0.4 copied to clipboard

Pick images from device gallery and camera. Alternate of image_picker

The Image Select Maestro 🌈✨ #

pub package

Welcome to the enchanting realm of the Image Picker Maestro! 🎩✨ This Flutter wizardry has been meticulously crafted by weaving together the enchantments of three magical plugins: image_picker, camera, and flutter_native_image.

Bid farewell to mundane and crash-prone experiences, as our Image Selector plugin ensures a seamless journey across all devices, leaving you spellbound with its flawless performance!

Installation Magic 🪄 #

Sprinkle the magic potion into your pubspec.yaml file, and witness the wonders of image_select. Tap here to cast the spell!

dependencies:
  image_select: ^0.0.3 

Compress Images 🌄 #

Behold the power of image compression! Now, you can select and compress images effortlessly using this single magical package. How enchanting!

Android Incantation 🤖 #

No need for extra runes or secret scrolls. Android bows before the might of this enchantment with no additional configurations needed.

Camera Features 📸 #

Mirrored Front Camera #

Experience a captivating camera interface! The front camera now features a mirrored effect for a more natural self-portrait experience.

Example Spellcasting 🪄 #

import 'package:flutter/material.dart';
import 'package:image_select/image_select.dart';

File? file;

CameraUiSettings cameraUiSettings = CameraUiSettings(
  appbarColor: Colors.teal,
  iconTheme: const IconThemeData(color: Colors.white),
  title: 'Shoot the Image',
  textStyle: const TextStyle(
    color: Colors.white,
  ),
  initialCameraSide: CameraSide.back,
);

pickImage(ImageFrom source) async {
  debugPrint(cameraUiSettings.toJson().toString());
  ImageSelect imageSelector = ImageSelect(cameraUiSettings: cameraUiSettings, compressImage: true);
  await imageSelector.pickImage(context: context, source: source).then((pickedFile) {
    if (pickedFile != null) {
      setState(() {
        file = pickedFile;
      });
      Navigator.pop(context);
    }
  });
}

Contribution 👐 #

We welcome contributions from fellow wizards! Feel free to submit issues and pull requests to enhance the enchantment of this package.

License 📜 #

This package is licensed under the MIT License.

10
likes
140
points
60
downloads

Documentation

API reference

Publisher

verified publisherthematrixmind.com

Weekly Downloads

Pick images from device gallery and camera. Alternate of image_picker

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

camera, flutter, flutter_image_compress, image_picker, path_provider

More

Packages that depend on image_select