copyWith method
Returns a copy of this theme with the given fields replaced.
Implementation
PaginationTheme copyWith({
ValueGetter<double?>? gap,
ValueGetter<bool?>? showLabel,
}) {
return PaginationTheme(
gap: gap == null ? this.gap : gap(),
showLabel: showLabel == null ? this.showLabel : showLabel(),
);
}