GTweenableGlowFilter constructor

GTweenableGlowFilter(
  1. GlowFilter target
)

Creates a new instance of GTweenableGlowFilter with the given target value.

Implementation

GTweenableGlowFilter(GlowFilter target) {
  value = this.target = target;
  _addLerp(
    'color',
    GTweenLerpColor(
      setProp: (value) => target.color = value,
      getProp: () => target.color,
    ),
  );
}