Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -169,11 +169,14 @@ class ToggleFlashlightButton extends StatelessWidget { | @@ -169,11 +169,14 @@ class ToggleFlashlightButton extends StatelessWidget { | ||
| 169 | case TorchState.unavailable: | 169 | case TorchState.unavailable: |
| 170 | return const SizedBox( | 170 | return const SizedBox( |
| 171 | width: 48.0, | 171 | width: 48.0, |
| 172 | + child: Center( | ||
| 172 | child: Icon( | 173 | child: Icon( |
| 173 | Icons.no_flash, | 174 | Icons.no_flash, |
| 174 | size: 32.0, | 175 | size: 32.0, |
| 175 | color: Colors.grey, | 176 | color: Colors.grey, |
| 176 | - )); | 177 | + ), |
| 178 | + ), | ||
| 179 | + ); | ||
| 177 | } | 180 | } |
| 178 | }, | 181 | }, |
| 179 | ); | 182 | ); |
-
Please register or login to post a comment