AnimatedValueBuilder<T> constructor
const
AnimatedValueBuilder<T> ({})
Implementation
const AnimatedValueBuilder({
super.key,
this.initialValue,
required this.value,
this.duration,
this.durationBuilder,
required AnimatedChildBuilder<T> this.builder,
this.onEnd,
this.curve = Curves.linear,
this.lerp,
this.child,
}) : animationBuilder = null,
assert(duration != null || durationBuilder != null,
'You must provide a duration or a durationBuilder.');