diff --git a/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart b/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart index e6f1699..fb86870 100644 --- a/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart +++ b/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart @@ -84,7 +84,16 @@ class _CameraPreviewBuilderState extends State<_CameraPreviewBuilder> { @override Widget build(BuildContext context) { if (PlatformConfig.cameraStubImage.isNotEmpty) { - return Image.asset(PlatformConfig.cameraStubImage); + return Stack( + children: [ + Positioned.fill( + child: Image.asset( + PlatformConfig.cameraStubImage, + fit: BoxFit.cover, + ), + ), + ], + ); } return ValueListenableBuilder( valueListenable: _initializedNotifier,