CustomStatefulAnimationBuilder constructor

const CustomStatefulAnimationBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext,
    2. double value
    ),
  3. Duration duration = const Duration(milliseconds: 500),
  4. int repeatCount = 0,
  5. Curve curve = Curves.linear,
  6. VoidCallback? onFinished,
  7. AnimationController? controller,
  8. bool reverse = false,
})

Implementation

const CustomStatefulAnimationBuilder({
  super.key,
  required this.builder,
  this.duration = const Duration(milliseconds: 500),
  this.repeatCount = 0,
  this.curve = Curves.linear,
  this.onFinished,
  this.controller,
  this.reverse = false,
});