BuilderHeader constructor

const BuilderHeader({
  1. required IndicatorBuilder builder,
  2. required double triggerOffset,
  3. required bool clamping,
  4. required IndicatorPosition position,
  5. Duration processedDuration = const Duration(seconds: 1),
  6. SpringDescription? spring,
  7. SpringDescription? horizontalSpring,
  8. SpringBuilder? readySpringBuilder,
  9. SpringBuilder? horizontalReadySpringBuilder,
  10. bool springRebound = true,
  11. FrictionFactor? frictionFactor,
  12. FrictionFactor? horizontalFrictionFactor,
  13. bool safeArea = true,
  14. double? infiniteOffset,
  15. bool? hitOver,
  16. bool? infiniteHitOver,
  17. bool hapticFeedback = false,
  18. double? secondaryTriggerOffset,
  19. double secondaryVelocity = kDefaultSecondaryVelocity,
  20. double? secondaryDimension,
  21. double secondaryCloseTriggerOffset = kDefaultSecondaryCloseTriggerOffset,
  22. bool notifyWhenInvisible = false,
  23. IndicatorStateListenable? listenable,
  24. bool triggerWhenReach = false,
  25. bool triggerWhenRelease = false,
  26. bool triggerWhenReleaseNoWait = false,
  27. 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,
});