HalloweenHeader constructor

const HalloweenHeader({
  1. Key? key,
  2. bool clamping = false,
  3. double triggerOffset = _kDefaultHalloweenTriggerOffset,
  4. IndicatorPosition position = IndicatorPosition.above,
  5. Duration processedDuration = Duration.zero,
  6. SpringDescription? spring,
  7. SpringBuilder? readySpringBuilder,
  8. bool springRebound = false,
  9. FrictionFactor? frictionFactor,
  10. double? infiniteOffset,
  11. bool? hitOver,
  12. bool? infiniteHitOver,
  13. bool hapticFeedback = false,
})

Implementation

const HalloweenHeader({
  this.key,
  bool clamping = false,
  double triggerOffset = _kDefaultHalloweenTriggerOffset,
  IndicatorPosition position = IndicatorPosition.above,
  Duration processedDuration = Duration.zero,
  SpringDescription? spring,
  SpringBuilder? readySpringBuilder,
  bool springRebound = false,
  FrictionFactor? frictionFactor,
  double? infiniteOffset,
  bool? hitOver,
  bool? infiniteHitOver,
  bool hapticFeedback = false,
}) : super(
        triggerOffset: triggerOffset,
        clamping: clamping,
        processedDuration: processedDuration,
        spring: spring,
        readySpringBuilder: readySpringBuilder,
        springRebound: springRebound,
        frictionFactor: frictionFactor,
        safeArea: false,
        infiniteOffset: infiniteOffset,
        hitOver: hitOver,
        infiniteHitOver: infiniteHitOver,
        position: position,
        hapticFeedback: hapticFeedback,
      );