BuilderHeader constructor
const
BuilderHeader({
- required IndicatorBuilder builder,
- required double triggerOffset,
- required bool clamping,
- required IndicatorPosition position,
- Duration processedDuration = const Duration(seconds: 1),
- SpringDescription? spring,
- SpringDescription? horizontalSpring,
- SpringBuilder? readySpringBuilder,
- SpringBuilder? horizontalReadySpringBuilder,
- bool springRebound = true,
- FrictionFactor? frictionFactor,
- FrictionFactor? horizontalFrictionFactor,
- bool safeArea = true,
- double? infiniteOffset,
- bool? hitOver,
- bool? infiniteHitOver,
- bool hapticFeedback = false,
- double? secondaryTriggerOffset,
- double secondaryVelocity = kDefaultSecondaryVelocity,
- double? secondaryDimension,
- double secondaryCloseTriggerOffset = kDefaultSecondaryCloseTriggerOffset,
- bool notifyWhenInvisible = false,
- IndicatorStateListenable? listenable,
- bool triggerWhenReach = false,
- bool triggerWhenRelease = false,
- bool triggerWhenReleaseNoWait = false,
- double maxOverOffset = double.infinity,
Implementation
const BuilderHeader({
required this.builder,
required super.triggerOffset,
required super.clamping,
required super.position,
super.processedDuration,
super.spring,
super.horizontalSpring,
super.readySpringBuilder,
super.horizontalReadySpringBuilder,
super.springRebound,
super.frictionFactor,
super.horizontalFrictionFactor,
super.safeArea,
super.infiniteOffset,
super.hitOver,
super.infiniteHitOver,
super.hapticFeedback,
super.secondaryTriggerOffset,
super.secondaryVelocity,
super.secondaryDimension,
super.secondaryCloseTriggerOffset,
super.notifyWhenInvisible,
super.listenable,
super.triggerWhenReach,
super.triggerWhenRelease,
super.triggerWhenReleaseNoWait,
super.maxOverOffset,
});