setAnimate method
Set animate when brightness transition
This method is useful for user change weather this plugin should animate when brightness transition
(iOS only) implemented in iOS only because only iOS native side does not having reset method.
Implementation
@override
Future<void> setAnimate(bool isAnimate) async {
await pluginMethodChannel
.invokeMethod(methodNameSetAnimate, {"isAnimate": isAnimate});
}