values property

List<ValueDelegate>? values
final

A list of value delegates to dynamically modify the animation properties at runtime.

Example:

Lottie.asset(
  'lottiefile.json',
  delegates: LottieDelegates(
    value: [
      ValueDelegate.color(['lake', 'fill'], value: Colors.blue),
      ValueDelegate.opacity(['**', 'fill'], callback: (frameInfo) => 0.5 * frameInfo.overallProgress),
    ],
  ),
);

Implementation

final List<ValueDelegate>? values;