GTweenableDropShadowFilter constructor

GTweenableDropShadowFilter(
  1. GDropShadowFilter target
)

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

Implementation

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