isAnimate property

  1. @override
Future<bool> get isAnimate
override

Returns boolean to identify will animate when application screen brightness changed.

This parameter is useful for user to determinate will there be animation transition when application screen brightness changed.

(iOS only) implemented in iOS only because only iOS native side does not having reset method.

Implementation

@override
Future<bool> get isAnimate async {
  return await pluginMethodChannel.invokeMethod<bool>(methodNameIsAnimate) ??
      true;
}