CustomHeader constructor

CustomHeader({
  1. dynamic extent = 60.0,
  2. dynamic triggerDistance = 70.0,
  3. dynamic float = false,
  4. dynamic completeDuration,
  5. dynamic enableInfiniteRefresh = false,
  6. dynamic enableHapticFeedback = false,
  7. required RefreshControlBuilder headerBuilder,
})

Implementation

CustomHeader({
  extent = 60.0,
  triggerDistance = 70.0,
  float = false,
  completeDuration,
  enableInfiniteRefresh = false,
  enableHapticFeedback = false,
  required this.headerBuilder,
}) : super(
  extent: extent,
  triggerDistance: triggerDistance,
  float: float,
  completeDuration: completeDuration,
  enableInfiniteRefresh: enableInfiniteRefresh,
  enableHapticFeedback: enableHapticFeedback,
);