camera_extended
1.2.7, released 2 weeks ago by codigee.com
Extended camera plugin with native aspect ratio support for iOS and Android.
What it does
A fork of the official camera package that adds sensor-level aspect ratio configuration (16:9, 4:3, 1:1). It maintains full API compatibility with the original camera plugin while providing native aspect ratio selection on Android and iOS.
AI-written summary of version 1.2.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need native aspect ratio control such as 1:1 square or 4:3 photos.
- You are migrating from the official camera package and want sensor-level ratio settings.
Skip it when
- You need features completely unrelated to camera captures or previews.
Strengths
- Native aspect ratio selection including 1:1, 4:3, and 16:9.
- API-compatible drop-in replacement for the official camera package.
- Sensor-level configuration for Android and iOS.
Weaknesses
- 1:1 format falls back to 4:3 on iOS due to native limitations.
- Fork of another package, requiring you to trust maintenance of the fork.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Requires adding camera and microphone permissions to AndroidManifest.xml and Info.plist.
import 'package:camera_extended/camera_extended.dart';
final controller = CameraController(
cameras.first,
ResolutionPreset.high,
aspectRatio: CameraAspectRatio.ratio4x3,
);
await controller.initialize();Alternatives
Packages that do the same job and could replace camera_extended.
- camera
You prefer using the official and standard Flutter camera package without custom aspect ratio extensions.
95Compare - mobile_scanner
You specifically need barcode and QR code scanning rather than a general-purpose photo and video camera.
95Compare
Works with
Packages commonly used together with camera_extended: ones it builds on, ones built on it, and its own family.