CurveTimeline constructor

CurveTimeline(
  1. int frameCount
)

Implementation

CurveTimeline(int frameCount)
    : curves = Float32List((frameCount - 1) * CurveTimeline.bezierSize) {
  if (frameCount <= 0) {
    throw ArgumentError('frameCount must be > 0: $frameCount');
  }
}