isAnimate property

  1. @override
Future<bool> get isAnimate
override

Returns boolean to identify will animate brightness transition

This parameter is useful for user to determinate will there be animate transition.

(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;
}