Closed michaelgaultjr closed 6 months ago
Create a CameraAwesomeBuilder widget with CameraAwesomeBuilder.awesome, CameraAwesomeBuilder.custom, etc... and set the following fields in the widget constructor (as well as any other required fields)
CameraAwesomeBuilder.awesome
CameraAwesomeBuilder.custom
previewAlignment: Alignment.center, previewFit: CameraPreviewFit.contain, sensorConfig: SensorConfig.single( sensor: Sensor.position(SensorPosition.back), aspectRatio: CameraAspectRatios.ratio_1_1, ),
Camera preview should be centered with space above and below
Camera preview is always on the top of the screen regardless of the value in the previewAlignment field
previewAlignment
Run this in your command line flutter --version
flutter --version
3.13.7-0.0.pre.1
Yes this has been reported last week. I should be able to fix this next week.
Has the issue been fixed?
Is someone working on this issue currently?
Thanks for your help @KnifeLemon 🙏🏻
Steps to Reproduce (version: 2.0.0+1)
Create a CameraAwesomeBuilder widget with
CameraAwesomeBuilder.awesome
,CameraAwesomeBuilder.custom
, etc... and set the following fields in the widget constructor (as well as any other required fields)Expected results
Camera preview should be centered with space above and below
Actual results
Camera preview is always on the top of the screen regardless of the value in the
previewAlignment
fieldAbout your device
Your flutter version
Run this in your command line
flutter --version
3.13.7-0.0.pre.1