Skip to content

Commit 4f0588c

Browse files
committed
🎨 Const widgets.
1 parent ffe1633 commit 4f0588c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/widget/camera_picker.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class _CameraPickerState extends State<CameraPicker> {
276276
margin: const EdgeInsets.all(10.0),
277277
width: Screens.width / 15,
278278
height: Screens.width / 15,
279-
decoration: BoxDecoration(
279+
decoration: const BoxDecoration(
280280
color: Colors.white,
281281
shape: BoxShape.circle,
282282
),
@@ -305,7 +305,7 @@ class _CameraPickerState extends State<CameraPicker> {
305305
color: Colors.white30,
306306
shape: BoxShape.circle,
307307
),
308-
child: DecoratedBox(
308+
child: const DecoratedBox(
309309
decoration: BoxDecoration(
310310
color: Colors.white,
311311
shape: BoxShape.circle,
@@ -368,7 +368,7 @@ class _CameraPickerState extends State<CameraPicker> {
368368
margin: const EdgeInsets.all(10.0),
369369
width: Screens.width / 15,
370370
height: Screens.width / 15,
371-
decoration: BoxDecoration(
371+
decoration: const BoxDecoration(
372372
color: Colors.white,
373373
shape: BoxShape.circle,
374374
),

0 commit comments

Comments
 (0)