copyWith method

FieldStyle? copyWith({
  1. double? headerSpacing,
  2. double? footerSpacing,
})

Implementation

FieldStyle? copyWith({double? headerSpacing, double? footerSpacing}) {
  return FieldStyle(
    headerSpacing: headerSpacing ?? this.headerSpacing,
    footerSpacing: footerSpacing ?? this.footerSpacing,
  );
}