updateFromBrightness method
Implementation
@override
void updateFromBrightness(Brightness brightness) {
if (brightness.isDark) _changeTo(DarkOverlay()).refreshAndApply();
}
@override
void updateFromBrightness(Brightness brightness) {
if (brightness.isDark) _changeTo(DarkOverlay()).refreshAndApply();
}