We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a custom layout of Camerawesome:
CameraAwesomeBuilder.custom( builder: (cameraState, preview) { return cameraState.when( onPreparingCamera: (state) { return _buildLoadingInterface(); }, onPhotoMode: (picState) { return _buildInterface(picState); }, ); }, previewFit: CameraPreviewFit.cover, sensorConfig: SensorConfig.single( sensor: Sensor.position(SensorPosition.back), flashMode: FlashMode.auto, aspectRatio: CameraAspectRatios.ratio_16_9, ), progressIndicator: _buildLoadingInterface(), saveConfig: SaveConfig.photoAndVideo( exifPreferences: ExifPreferences(saveGPSLocation: true), photoPathBuilder: (sensors) async { return await _cameraProvider .photoPathBuilder(sensors.first); }, videoPathBuilder: (sensors) async { return await _cameraProvider .videoPathBuilder(sensors.first); }, ), );
In the initial camera state, if the device has the ultrawide sensor (0.5 zoom), if you pinch the screen, the camera should zoom out.
It only works on Android. On iOS it works with the AwesomeZoomSelector widget.
AwesomeZoomSelector
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision b0850beeb2 (9 weeks ago) • 2024-07-16 21:43:41 -0700 Engine • revision 235db911ba Tools • Dart 3.4.4 • DevTools 2.34.3
The text was updated successfully, but these errors were encountered:
Same issue here
Sorry, something went wrong.
No branches or pull requests
Steps to Reproduce
Create a custom layout of Camerawesome:
Expected results
In the initial camera state, if the device has the ultrawide sensor (0.5 zoom), if you pinch the screen, the camera should zoom out.
Actual results
It only works on Android. On iOS it works with the
AwesomeZoomSelector
widget.Your flutter version
The text was updated successfully, but these errors were encountered: