Future<double> get currentBrightness async { try { return await ScreenBrightness().current; } catch (_) { return 0.0; } }