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