AnimatedValueBuilder<T> constructor

const AnimatedValueBuilder<T>({
  1. Key? key,
  2. T? initialValue,
  3. required T value,
  4. required Duration duration,
  5. required AnimatedChildBuilder<T> builder,
  6. void onEnd(
    1. T value
    )?,
  7. Curve curve = Curves.linear,
  8. T lerp(
    1. T a,
    2. T b,
    3. double t
    )?,
  9. Widget? child,
})

Implementation

const AnimatedValueBuilder({
  super.key,
  this.initialValue,
  required this.value,
  required this.duration,
  required AnimatedChildBuilder<T> this.builder,
  this.onEnd,
  this.curve = Curves.linear,
  this.lerp,
  this.child,
})  : animationBuilder = null,
      rawBuilder = null;