From da35dd7dd69a6e3beb0916b6d87f86e1de2f02a3 Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Thu, 1 Feb 2024 06:32:45 +0000 Subject: [PATCH] refactor: use `ColoredBox` over `Container` (#573) --- 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,