copyWith method
Creates a copy with selected values replaced.
Implementation
FdcGridCellStyle copyWith({
TextStyle? textStyle,
Color? backgroundColor,
Alignment? alignment,
}) {
return FdcGridCellStyle(
textStyle: textStyle ?? this.textStyle,
backgroundColor: backgroundColor ?? this.backgroundColor,
alignment: alignment ?? this.alignment,
);
}