ColorEffect constructor

ColorEffect(
  1. Color color,
  2. Offset offset,
  3. EffectController controller, {
  4. String? paintId,
})

Implementation

ColorEffect(
  this.color,
  Offset offset,
  EffectController controller, {
  this.paintId,
})  : _tween = Tween(begin: offset.dx, end: offset.dy),
      super(controller);