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 double triggerOffset,
  required bool clamping,
  required IndicatorPosition position,
  Duration processedDuration = const Duration(seconds: 1),
  physics.SpringDescription? spring,
  physics.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,
}) : super(
        triggerOffset: triggerOffset,
        clamping: clamping,
        processedDuration: processedDuration,
        spring: spring,
        horizontalSpring: horizontalSpring,
        readySpringBuilder: readySpringBuilder,
        horizontalReadySpringBuilder: horizontalReadySpringBuilder,
        springRebound: springRebound,
        frictionFactor: frictionFactor,
        horizontalFrictionFactor: horizontalFrictionFactor,
        safeArea: safeArea,
        infiniteOffset: infiniteOffset,
        hitOver: hitOver,
        infiniteHitOver: infiniteHitOver,
        position: position,
        hapticFeedback: hapticFeedback,
        secondaryTriggerOffset: secondaryTriggerOffset,
        secondaryVelocity: secondaryVelocity,
        secondaryDimension: secondaryDimension,
        secondaryCloseTriggerOffset: secondaryCloseTriggerOffset,
        notifyWhenInvisible: notifyWhenInvisible,
        listenable: listenable,
        triggerWhenReach: triggerWhenReach,
        triggerWhenRelease: triggerWhenRelease,
        triggerWhenReleaseNoWait: triggerWhenReleaseNoWait,
        maxOverOffset: maxOverOffset,
      );