camerapack 0.0.2
camerapack: ^0.0.2 copied to clipboard
A Flutter plugin for custom camera functionalities, including capturing images, flipping cameras, and accessing the gallery.
📸 camerapack camerapack is a Flutter plugin that opens a native camera screen (iOS and Android), captures a photo using the front or back camera, and returns the image path to Flutter. It also allows picking an image from the gallery.
🚀 Features Open native camera screen (Android/iOS) Flip between front and back cameras Handle device orientation changes Capture and return image file path Pick image from gallery Communication between Flutter and native via platform channels
📱 Platform Support Platform Support Android ✅ iOS ✅
🔧 Installation Add the plugin to your pubspec.yaml:
🛠 Usage Import the package import 'package:camerapack/camerapack.dart';
Capture an Image final camerapack = Camerapack();
Future
📂 iOS Configuration In Info.plist, add the following permissions:
📂 Android Configuration Make sure you have these permissions in your AndroidManifest.xml:
🧑💻 Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
📄 License This plugin is licensed under the Apache 2.0 License.