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

Pick images from device gallery and camera. Alternate of image_picker

The Image Select Maestro 🌈✨ #

pub package

Welcome to the magical realm of the Image Picker Maestro! 🎩✨ This Flutter wizardry is crafted with the combined enchantments of two spellbinding plugins: image_picker and camera.

Ditch the dull and crash-prone experiences, for our Image Selector plugin guarantees a smooth journey across all devices without a single hiccup!

Installation Magic 🪄 #

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

Android Incantation 🤖 #

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

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,
  ),
);

pickImage(ImageFrom source) async {
  ImageSelect imageSelect = ImageSelect(cameraUiSettings: cameraUiSettings);
  await imageSelect.pickImage(context: context, source: source).then((pickedFile) {
    if (pickedFile != null) {
      setState(() {
        file = pickedFile;
      });
      Navigator.pop(context);
    }
  });
}
10
likes
0
points
69
downloads

Publisher

verified publisherthematrixmind.com

Weekly Downloads

Pick images from device gallery and camera. Alternate of image_picker

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

camera, flutter, image_picker

More

Packages that depend on image_select