Header constructor

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

Implementation

const Header({
  required super.triggerOffset,
  required super.clamping,
  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.position,
  super.hapticFeedback,
  super.secondaryTriggerOffset,
  super.secondaryVelocity,
  super.secondaryDimension,
  super.secondaryCloseTriggerOffset,
  super.notifyWhenInvisible,
  super.listenable,
  super.triggerWhenReach,
  super.triggerWhenRelease,
  super.triggerWhenReleaseNoWait,
  super.maxOverOffset,
});