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