copyWith method

  1. @useResult
FPaginationStyle copyWith({
  1. EdgeInsets? itemPadding,
  2. BoxConstraints? itemConstraints,
  3. FWidgetStateMap<IconThemeData>? itemIconStyle,
  4. FWidgetStateMap<BoxDecoration>? itemDecoration,
  5. FWidgetStateMap<TextStyle>? itemTextStyle,
  6. TextStyle? ellipsisTextStyle,
  7. FTappableStyle actionTappableStyle(
    1. FTappableStyle style
    )?,
  8. FTappableStyle pageTappableStyle(
    1. FTappableStyle style
    )?,
  9. FFocusedOutlineStyle focusedOutlineStyle(
    1. FFocusedOutlineStyle style
    )?,
})

Returns a copy of this FPaginationStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FPaginationStyle copyWith({
  EdgeInsets? itemPadding,
  BoxConstraints? itemConstraints,
  FWidgetStateMap<IconThemeData>? itemIconStyle,
  FWidgetStateMap<BoxDecoration>? itemDecoration,
  FWidgetStateMap<TextStyle>? itemTextStyle,
  TextStyle? ellipsisTextStyle,
  FTappableStyle Function(FTappableStyle style)? actionTappableStyle,
  FTappableStyle Function(FTappableStyle style)? pageTappableStyle,
  FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
}) => FPaginationStyle(
  itemPadding: itemPadding ?? this.itemPadding,
  itemConstraints: itemConstraints ?? this.itemConstraints,
  itemIconStyle: itemIconStyle ?? this.itemIconStyle,
  itemDecoration: itemDecoration ?? this.itemDecoration,
  itemTextStyle: itemTextStyle ?? this.itemTextStyle,
  ellipsisTextStyle: ellipsisTextStyle ?? this.ellipsisTextStyle,
  actionTappableStyle: actionTappableStyle != null
      ? actionTappableStyle(this.actionTappableStyle)
      : this.actionTappableStyle,
  pageTappableStyle: pageTappableStyle != null ? pageTappableStyle(this.pageTappableStyle) : this.pageTappableStyle,
  focusedOutlineStyle: focusedOutlineStyle != null
      ? focusedOutlineStyle(this.focusedOutlineStyle)
      : this.focusedOutlineStyle,
);