Future<bool?> toggleFlash() async { openFlashlight = await _controller.setFlashlight(); setState(() {}); return openFlashlight; }