BallPulseHeader constructor
const
BallPulseHeader({
- Key? key,
- double triggerOffset = 70,
- bool clamping = false,
- IndicatorPosition position = IndicatorPosition.above,
- Duration processedDuration = Duration.zero,
- SpringDescription? spring,
- SpringBuilder? readySpringBuilder,
- bool springRebound = true,
- FrictionFactor? frictionFactor,
- bool safeArea = true,
- double? infiniteOffset,
- bool? hitOver,
- bool? infiniteHitOver,
- bool hapticFeedback = false,
- bool triggerWhenRelease = false,
- double maxOverOffset = double.infinity,
- Color? color = Colors.black,
- Color? backgroundColor = Colors.transparent,
Implementation
const BallPulseHeader({
this.key,
double triggerOffset = 70,
bool clamping = false,
IndicatorPosition position = IndicatorPosition.above,
Duration processedDuration = Duration.zero,
physics.SpringDescription? spring,
SpringBuilder? readySpringBuilder,
bool springRebound = true,
FrictionFactor? frictionFactor,
bool safeArea = true,
double? infiniteOffset,
bool? hitOver,
bool? infiniteHitOver,
bool hapticFeedback = false,
bool triggerWhenRelease = false,
double maxOverOffset = double.infinity,
this.color = Colors.black,
this.backgroundColor = Colors.transparent,
}) : super(
triggerOffset: triggerOffset,
clamping: clamping,
processedDuration: processedDuration,
spring: spring,
readySpringBuilder: readySpringBuilder,
springRebound: springRebound,
frictionFactor: frictionFactor,
safeArea: safeArea,
infiniteOffset: infiniteOffset,
hitOver: hitOver,
infiniteHitOver: infiniteHitOver,
position: position,
hapticFeedback: hapticFeedback,
triggerWhenRelease: triggerWhenRelease,
maxOverOffset: maxOverOffset,
);