OverrideHeader constructor
OverrideHeader({
- required Header header,
- double? triggerOffset,
- bool? clamping,
- IndicatorPosition? position,
- Duration? processedDuration,
- SpringDescription? spring,
- SpringDescription? horizontalSpring,
- SpringBuilder? readySpringBuilder,
- SpringBuilder? horizontalReadySpringBuilder,
- bool? springRebound,
- FrictionFactor? frictionFactor,
- FrictionFactor? horizontalFrictionFactor,
- bool? safeArea,
- double? infiniteOffset,
- bool? hitOver,
- bool? infiniteHitOver,
- bool? hapticFeedback,
- double? secondaryTriggerOffset,
- double? secondaryVelocity,
- double? secondaryDimension,
- double? secondaryCloseTriggerOffset,
- bool? notifyWhenInvisible,
- IndicatorStateListenable? listenable,
- bool? triggerWhenReach,
- bool? triggerWhenRelease,
- bool? triggerWhenReleaseNoWait,
- double? maxOverOffset,
Implementation
OverrideHeader({
required this.header,
double? triggerOffset,
bool? clamping,
IndicatorPosition? position,
Duration? processedDuration,
physics.SpringDescription? spring,
physics.SpringDescription? horizontalSpring,
SpringBuilder? readySpringBuilder,
SpringBuilder? horizontalReadySpringBuilder,
bool? springRebound,
FrictionFactor? frictionFactor,
FrictionFactor? horizontalFrictionFactor,
bool? safeArea,
double? infiniteOffset,
bool? hitOver,
bool? infiniteHitOver,
bool? hapticFeedback,
double? secondaryTriggerOffset,
double? secondaryVelocity,
double? secondaryDimension,
double? secondaryCloseTriggerOffset,
bool? notifyWhenInvisible,
IndicatorStateListenable? listenable,
bool? triggerWhenReach,
bool? triggerWhenRelease,
bool? triggerWhenReleaseNoWait,
double? maxOverOffset,
}) : super(
triggerOffset: triggerOffset ?? header.triggerOffset,
clamping: clamping ?? header.clamping,
processedDuration: processedDuration ?? header.processedDuration,
spring: spring ?? header.spring,
horizontalSpring: horizontalSpring ?? header.horizontalSpring,
readySpringBuilder: readySpringBuilder ?? header.readySpringBuilder,
horizontalReadySpringBuilder: horizontalReadySpringBuilder ??
header.horizontalReadySpringBuilder,
springRebound: springRebound ?? header.springRebound,
frictionFactor: frictionFactor ?? header.frictionFactor,
horizontalFrictionFactor:
horizontalFrictionFactor ?? header.horizontalFrictionFactor,
safeArea: safeArea ?? header.safeArea,
infiniteOffset: infiniteOffset ?? header.infiniteOffset,
hitOver: hitOver ?? header.hitOver,
infiniteHitOver: infiniteHitOver ?? header.infiniteHitOver,
position: position ?? header.position,
hapticFeedback: hapticFeedback ?? header.hapticFeedback,
secondaryTriggerOffset:
secondaryTriggerOffset ?? header.secondaryTriggerOffset,
secondaryVelocity: secondaryVelocity ?? header.secondaryVelocity,
secondaryDimension: secondaryDimension ?? header.secondaryDimension,
secondaryCloseTriggerOffset:
secondaryCloseTriggerOffset ?? header.secondaryCloseTriggerOffset,
notifyWhenInvisible:
notifyWhenInvisible ?? header.notifyWhenInvisible,
listenable: listenable ?? header.listenable,
triggerWhenReach: triggerWhenReach ?? header.triggerWhenReach,
triggerWhenRelease: triggerWhenRelease ?? header.triggerWhenRelease,
triggerWhenReleaseNoWait:
triggerWhenReleaseNoWait ?? header.triggerWhenReleaseNoWait,
maxOverOffset: maxOverOffset ?? header.maxOverOffset,
);