BezierBackground constructor

const BezierBackground({
  1. Key? key,
  2. required IndicatorState state,
  3. required bool reverse,
  4. bool useAnimation = true,
  5. bool bounce = false,
  6. Color? color,
  7. CustomClipper<Path>? clipper,
  8. bool disappearAnimation = false,
  9. Duration disappearAnimationDuration = kBezierBackgroundDisappearDuration,
  10. ValueChanged<double>? onReboundOffsetChanged,
})

Implementation

const BezierBackground({
  super.key,
  required this.state,
  required this.reverse,
  this.useAnimation = true,
  this.bounce = false,
  this.color,
  this.clipper,
  this.disappearAnimation = false,
  this.disappearAnimationDuration = kBezierBackgroundDisappearDuration,
  this.onReboundOffsetChanged,
});