copyWithPullToRefreshSettings method

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

Implementation

PullToRefreshSettings copyWithPullToRefreshSettings({
  bool? enabled,
  Color? color,
  Color? backgroundColor,
  int? distanceToTriggerSync,
  int? slingshotDistance,
  PullToRefreshSize? size,
  AttributedString? attributedTitle,
}) {
  return copyWith(
    enabled: enabled,
    color: color,
    backgroundColor: backgroundColor,
    distanceToTriggerSync: distanceToTriggerSync,
    slingshotDistance: slingshotDistance,
    size: size,
    attributedTitle: attributedTitle,
  );
}