updateFromBrightness method

  1. @override
void updateFromBrightness(
  1. Brightness brightness
)
override

Implementation

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