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. BoxDecoration? boxDecoration,
  21. String? dragText,
  22. String? armedText,
  23. String? readyText,
  24. String? processingText,
  25. String? processedText,
  26. String? noMoreText,
  27. String? failedText,
  28. bool showText = true,
  29. String? messageText,
  30. bool showMessage = true,
  31. double? textDimension,
  32. double iconDimension = 24,
  33. double spacing = 16,
  34. Widget? succeededIcon,
  35. Widget? failedIcon,
  36. Widget? noMoreIcon,
  37. CIPullIconBuilder? pullIconBuilder,
  38. TextStyle? textStyle,
  39. CITextBuilder? textBuilder,
  40. TextStyle? messageStyle,
  41. CIMessageBuilder? messageBuilder,
  42. Clip clipBehavior = Clip.hardEdge,
  43. IconThemeData? iconTheme,
  44. double? progressIndicatorSize,
  45. double? progressIndicatorStrokeWidth,
})

Implementation

const ClassicHeader({
  this.key,
  super.triggerOffset = 70,
  super.clamping = false,
  super.position,
  super.processedDuration,
  super.spring,
  super.readySpringBuilder,
  super.springRebound,
  super.frictionFactor,
  super.safeArea,
  super.infiniteOffset,
  super.hitOver,
  super.infiniteHitOver,
  super.hapticFeedback,
  super.triggerWhenReach,
  super.triggerWhenRelease,
  super.maxOverOffset,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.backgroundColor,
  this.boxDecoration,
  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,
});