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,
  8. FTappableStyle? pageTappableStyle,
})
inherited

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

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

@useResult
FPaginationStyle copyWith({
  EdgeInsets? itemPadding,
  BoxConstraints? itemConstraints,
  FWidgetStateMap<IconThemeData>? itemIconStyle,
  FWidgetStateMap<BoxDecoration>? itemDecoration,
  FWidgetStateMap<TextStyle>? itemTextStyle,
  TextStyle? ellipsisTextStyle,
  FTappableStyle? actionTappableStyle,
  FTappableStyle? pageTappableStyle,
}) => 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 ?? this.actionTappableStyle,
  pageTappableStyle: pageTappableStyle ?? this.pageTappableStyle,
);