ValueTransformer<R, T> typedef
ValueTransformer<R, T> =
R Function(ActContext context, T value)
Signature for a function that transforms a value from its stored type T
to an animated type R.
Used by TweenActBase to normalize or project values before animating. For example, an enum might be transformed to a numeric offset.
Called during CueAnimtable construction, receiving the ActContext so that the transformation can depend on properties like ActContext.textDirection.
Implementation
typedef ValueTransformer<R, T> = R Function(ActContext context, T value);