camera_flutter 0.0.1
camera_flutter: ^0.0.1 copied to clipboard
Camera capture for Flutter with the goal of no additional system dependencies. Integrates the `camera_dart` package and uses cargokit to build the native Rust camera library and use it via FFI.
camera_flutter #
Flutter integration for camera_dart: cross-platform
camera capture with ther goal of no system dependencies for users or devs.
This package builds the shared camera_cli Rust crate automatically (via
cargokit) and bundles it with your app,
then re-exports the full camera_dart API.
import 'package:camera_flutter/camera_flutter.dart';
await CameraControlFlutter.ensureInitialized();
final cameras = await CameraControl.enumerate();
Permissions #
Camera capture requires a usage description on Apple platforms
(NSCameraUsageDescription in your app's Info.plist) and the CAMERA
permission on Android. The example app sets these up.