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