TDRefreshHeader constructor

TDRefreshHeader({
  1. Key? key,
  2. double extent = 48.0,
  3. double triggerDistance = 48.0,
  4. bool float = false,
  5. Duration? completeDuration,
  6. bool enableHapticFeedback = true,
  7. bool enableInfiniteRefresh = false,
  8. bool overScroll = true,
  9. TDLoadingIcon loadingIcon = TDLoadingIcon.circle,
  10. Color? backgroundColor,
})

Implementation

TDRefreshHeader({
  this.key,
  double extent = 48.0,
  double triggerDistance = 48.0,
  bool float = false,
  Duration? completeDuration,
  bool enableHapticFeedback = true,
  bool enableInfiniteRefresh = false,
  bool overScroll = true,
  this.loadingIcon = TDLoadingIcon.circle,
  this.backgroundColor,
}) : super(
  extent: extent,
  triggerDistance: triggerDistance,
  float: float,
  completeDuration: completeDuration,
  enableHapticFeedback: enableHapticFeedback,
  enableInfiniteRefresh: enableInfiniteRefresh,
  overScroll: overScroll,
);