OverrideHeader constructor

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