CurveAnimationConfig.linear constructor
const
CurveAnimationConfig.linear(
- Duration duration, {
- VoidCallback? onEnd,
- Duration delay = Duration.zero,
Implementation
const CurveAnimationConfig.linear(
this.duration, {
this.onEnd,
this.delay = Duration.zero,
}) : curve = Curves.linear;