BallPulseHeader constructor

const BallPulseHeader({
  1. Key? key,
  2. double triggerOffset = 70,
  3. bool clamping = false,
  4. IndicatorPosition position = IndicatorPosition.above,
  5. Duration processedDuration = Duration.zero,
  6. SpringDescription? spring,
  7. SpringBuilder? readySpringBuilder,
  8. bool springRebound = true,
  9. FrictionFactor? frictionFactor,
  10. bool safeArea = true,
  11. double? infiniteOffset,
  12. bool? hitOver,
  13. bool? infiniteHitOver,
  14. bool hapticFeedback = false,
  15. bool triggerWhenRelease = false,
  16. double maxOverOffset = double.infinity,
  17. Color? color = Colors.black,
  18. Color? backgroundColor = Colors.transparent,
})

Implementation

const BallPulseHeader({
  this.key,
  double triggerOffset = 70,
  bool clamping = false,
  IndicatorPosition position = IndicatorPosition.above,
  Duration processedDuration = Duration.zero,
  physics.SpringDescription? spring,
  SpringBuilder? readySpringBuilder,
  bool springRebound = true,
  FrictionFactor? frictionFactor,
  bool safeArea = true,
  double? infiniteOffset,
  bool? hitOver,
  bool? infiniteHitOver,
  bool hapticFeedback = false,
  bool triggerWhenRelease = false,
  double maxOverOffset = double.infinity,
  this.color = Colors.black,
  this.backgroundColor = Colors.transparent,
}) : super(
        triggerOffset: triggerOffset,
        clamping: clamping,
        processedDuration: processedDuration,
        spring: spring,
        readySpringBuilder: readySpringBuilder,
        springRebound: springRebound,
        frictionFactor: frictionFactor,
        safeArea: safeArea,
        infiniteOffset: infiniteOffset,
        hitOver: hitOver,
        infiniteHitOver: infiniteHitOver,
        position: position,
        hapticFeedback: hapticFeedback,
        triggerWhenRelease: triggerWhenRelease,
        maxOverOffset: maxOverOffset,
      );