path static method

ValueDelegate<Path> path(
  1. List<String> keyPath, {
  2. Path? value,
  3. Path callback(
    1. LottieFrameInfo<Path>
    )?,
})

Replace the outline of a shape at runtime. The callback receives the start/end paths of the underlying shape keyframe and returns the Path to draw.

Implementation

static ValueDelegate<Path> path(
  List<String> keyPath, {
  Path? value,
  Path Function(LottieFrameInfo<Path>)? callback,
}) => ValueDelegate._(keyPath, LottieProperty.path, value, callback);