Showing
1 changed file
with
5 additions
and
2 deletions
| @@ -168,12 +168,15 @@ class ToggleFlashlightButton extends StatelessWidget { | @@ -168,12 +168,15 @@ class ToggleFlashlightButton extends StatelessWidget { | ||
| 168 | ); | 168 | ); |
| 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