ClassicHeader constructor

const ClassicHeader({
  1. Key? key,
  2. double triggerOffset = 70,
  3. bool clamping = false,
  4. IndicatorPosition position = IndicatorPosition.above,
  5. Duration processedDuration = const Duration(seconds: 1),
  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 triggerWhenReach = false,
  16. bool triggerWhenRelease = false,
  17. double maxOverOffset = double.infinity,
  18. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  19. Color? backgroundColor,
  20. String? dragText,
  21. String? armedText,
  22. String? readyText,
  23. String? processingText,
  24. String? processedText,
  25. String? noMoreText,
  26. String? failedText,
  27. bool showText = true,
  28. String? messageText,
  29. bool showMessage = true,
  30. double? textDimension,
  31. double iconDimension = 24,
  32. double spacing = 16,
  33. Widget? succeededIcon,
  34. Widget? failedIcon,
  35. Widget? noMoreIcon,
  36. CIPullIconBuilder? pullIconBuilder,
  37. TextStyle? textStyle,
  38. CITextBuilder? textBuilder,
  39. TextStyle? messageStyle,
  40. CIMessageBuilder? messageBuilder,
  41. Clip clipBehavior = Clip.hardEdge,
  42. IconThemeData? iconTheme,
  43. double? progressIndicatorSize,
  44. double? progressIndicatorStrokeWidth,
})

Implementation

const ClassicHeader({
  this.key,
  double triggerOffset = 70,
  bool clamping = false,
  IndicatorPosition position = IndicatorPosition.above,
  Duration processedDuration = const Duration(seconds: 1),
  physics.SpringDescription? spring,
  SpringBuilder? readySpringBuilder,
  bool springRebound = true,
  FrictionFactor? frictionFactor,
  bool safeArea = true,
  double? infiniteOffset,
  bool? hitOver,
  bool? infiniteHitOver,
  bool hapticFeedback = false,
  bool triggerWhenReach = false,
  bool triggerWhenRelease = false,
  double maxOverOffset = double.infinity,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.backgroundColor,
  this.dragText,
  this.armedText,
  this.readyText,
  this.processingText,
  this.processedText,
  this.noMoreText,
  this.failedText,
  this.showText = true,
  this.messageText,
  this.showMessage = true,
  this.textDimension,
  this.iconDimension = 24,
  this.spacing = 16,
  this.succeededIcon,
  this.failedIcon,
  this.noMoreIcon,
  this.pullIconBuilder,
  this.textStyle,
  this.textBuilder,
  this.messageStyle,
  this.messageBuilder,
  this.clipBehavior = Clip.hardEdge,
  this.iconTheme,
  this.progressIndicatorSize,
  this.progressIndicatorStrokeWidth,
}) : 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,
        triggerWhenReach: triggerWhenReach,
        triggerWhenRelease: triggerWhenRelease,
        maxOverOffset: maxOverOffset,
      );