image_select

Last updated:

0 purchases

image_select Image
image_select Images
Add to Cart

Description:

image select

The Image Select Maestro 🌈✨ #

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!
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.
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);
}
});
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.