From b842b0a69b7dbd26f7beb8a141ce1a6cc555f401 Mon Sep 17 00:00:00 2001 From: alestiago Date: Thu, 18 Jan 2024 08:37:20 +0000 Subject: [PATCH] refactor: use `ColoredBox` over `Container` --- packages/example/lib/vision_detector_views/camera_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/example/lib/vision_detector_views/camera_view.dart b/packages/example/lib/vision_detector_views/camera_view.dart index d11fc3c9..d6023adc 100644 --- a/packages/example/lib/vision_detector_views/camera_view.dart +++ b/packages/example/lib/vision_detector_views/camera_view.dart @@ -76,7 +76,7 @@ class _CameraViewState extends State { if (_cameras.isEmpty) return Container(); if (_controller == null) return Container(); if (_controller?.value.isInitialized == false) return Container(); - return Container( + return ColoredBox( color: Colors.black, child: Stack( fit: StackFit.expand,