0 purchases
camera works
Camera Works #
Camera Works is a simple library to handle cameras with an emphasis on stability. A camera plugin for flutter, which use CameraX on Android, native API on iOS, supports camera capture, flash, & switch camera.
I made this plugin because there are several BUGs that are still unsolved in the official camera plugin.
Note: For now this plugin only support in Android only. And this plugin inspired by the official camera
Features #
✅ Switch camera front & back
✅ Take Picture
✅ Handle Flash
Getting Started #
Add camera_works as a dependency in your pubspec.yaml file.
dependencies:
camera_works: ^<latest-version>
copied to clipboard
Android #
Make sure you have a miniSdkVersion with 21 or higher in your android/app/build.gradle file, because the camera2 API which CameraX used only support Android 5.0 or above.
Note: You can run the example on a device emulator with Android 11 or higher and physical devices, CameraX doesn't work when running on emulators with Android 10 or lower. See https://developer.android.google.cn/codelabs/camerax-getting-started#5
Issues #
Doesn't work with horizontal orientation.
No Unit tests for now.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.