AnimatedValueBuilder<T>.animation constructor
const
AnimatedValueBuilder<T>.animation ({
- Key? key,
- T? initialValue,
- required T value,
- required Duration duration,
- required AnimationBuilder<
T> builder, - void onEnd(
- T value
- Curve curve = Curves.linear,
- T lerp(
- T a,
- T b,
- double t
Implementation
const AnimatedValueBuilder.animation({
super.key,
this.initialValue,
required this.value,
required this.duration,
required AnimationBuilder<T> builder,
this.onEnd,
this.curve = Curves.linear,
this.lerp,
}) : builder = null,
animationBuilder = builder,
child = null,
rawBuilder = null;