copyWith method

FdcGridColumnGroupStyle copyWith({
  1. Color? backgroundColor,
  2. TextStyle? textStyle,
  3. Alignment? alignment,
  4. EdgeInsetsGeometry? padding,
  5. Color? bottomSeparatorColor,
  6. Color? verticalSeparatorColor,
  7. double? verticalSeparatorInset,
})

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,
  );
}