CurvedEffectController constructor

CurvedEffectController(
  1. double duration,
  2. Curve curve
)

Implementation

CurvedEffectController(super.duration, Curve curve)
    : assert(duration > 0, 'Duration must be positive: $duration'),
      _curve = curve;