hasApplicationScreenBrightnessChanged property
Returns boolean to identify application screen brightness has changed by this plugin.
e.g
ScreenBrightness.setApplicationScreenBrightness
will make this true
ScreenBrightness.resetApplicationScreenBrightness
will make this false
Implementation
@override
Future<bool> get hasApplicationScreenBrightnessChanged async {
return await pluginMethodChannel.invokeMethod<bool>(
methodNameHasApplicationScreenBrightnessChanged) ??
false;
}