BezierBackground constructor
const
BezierBackground({
- Key? key,
- required IndicatorState state,
- required bool reverse,
- bool useAnimation = true,
- bool bounce = false,
- Color? color,
- CustomClipper<
Path> ? clipper, - bool disappearAnimation = false,
- Duration disappearAnimationDuration = kBezierBackgroundDisappearDuration,
- 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,
});