PullToRefreshSettings constructor

PullToRefreshSettings({
  1. bool? enabled,
  2. Color? color,
  3. Color? backgroundColor,
  4. int? distanceToTriggerSync,
  5. int? slingshotDistance,
  6. PullToRefreshSize? size,
  7. AttributedString? attributedTitle,
})

Implementation

PullToRefreshSettings({
  bool? enabled,
  Color? this.color,
  Color? this.backgroundColor,
  int? this.distanceToTriggerSync,
  int? this.slingshotDistance,
  PullToRefreshSize? this.size,
  AttributedString? this.attributedTitle,
}) : this.enabled = enabled ?? true;