Skip to content

Commit

Permalink
refactor: use ColoredBox over Container (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago authored Feb 1, 2024
1 parent a5234e6 commit da35dd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class _CameraViewState extends State<CameraView> {
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,
Expand Down

0 comments on commit da35dd7

Please sign in to comment.