Header constructor Null safety

Header(
  1. {double extent = 60.0,
  2. double triggerDistance = 70.0,
  3. bool float = false,
  4. Duration? completeDuration,
  5. bool enableInfiniteRefresh = false,
  6. bool enableHapticFeedback = false,
  7. bool overScroll = true}
)

Implementation

Header({
  this.extent = 60.0,
  this.triggerDistance = 70.0,
  this.float = false,
  this.completeDuration,
  this.enableInfiniteRefresh = false,
  this.enableHapticFeedback = false,
  this.overScroll = true,
});