RotateEffect.by constructor

RotateEffect.by({
  1. required double angle,
  2. required EffectController controller,
  3. bool? cleanup,
  4. bool? enabled,
})

Rotates the closest AngleOwner ancestor by angle, relative to its angle when the effect starts.

Implementation

factory RotateEffect.by({
  required double angle,
  required EffectController controller,
  bool? cleanup,
  bool? enabled,
}) = _RotateByEffect;