copyWith method
Creates a copy with selected values replaced.
Implementation
FdcGridSummaryStyle copyWith({
Color? backgroundColor,
bool? showTopSeparator,
TextStyle? textStyle,
double? height,
EdgeInsetsGeometry? padding,
bool? showVerticalSeparators,
double? verticalSeparatorInset,
}) {
return FdcGridSummaryStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
showTopSeparator: showTopSeparator ?? this.showTopSeparator,
textStyle: textStyle ?? this.textStyle,
height: height ?? this.height,
padding: padding ?? this.padding,
showVerticalSeparators:
showVerticalSeparators ?? this.showVerticalSeparators,
verticalSeparatorInset:
verticalSeparatorInset ?? this.verticalSeparatorInset,
);
}