copyWith method
- @useResult
- EdgeInsets? itemPadding,
- BoxConstraints? itemConstraints,
- FWidgetStateMap<
IconThemeData> ? itemIconStyle, - FWidgetStateMap<
BoxDecoration> ? itemDecoration, - FWidgetStateMap<
TextStyle> ? itemTextStyle, - TextStyle? ellipsisTextStyle,
- FTappableStyle? actionTappableStyle,
- 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,
);