copyWith method
FdcColumnSummary
copyWith({
- FdcAggregate? aggregate,
- String? label,
- bool? labelVisible,
- FdcSummaryLabelAlignment? labelAlignment,
- bool? allowAggregateChange,
- FdcGridSummaryCellStyle? style,
Creates a copy with selected values replaced.
Implementation
FdcColumnSummary copyWith({
FdcAggregate? aggregate,
String? label,
bool? labelVisible,
FdcSummaryLabelAlignment? labelAlignment,
bool? allowAggregateChange,
FdcGridSummaryCellStyle? style,
}) {
return FdcColumnSummary(
aggregate: aggregate ?? this.aggregate,
label: label ?? this.label,
labelVisible: labelVisible ?? this.labelVisible,
labelAlignment: labelAlignment ?? this.labelAlignment,
allowAggregateChange: allowAggregateChange ?? this.allowAggregateChange,
style: style ?? this.style,
);
}