copyWith method
Creates a copy of this KanbanColumnTheme with modified values.
Any parameter that is null will keep its original value.
Implementation
KanbanColumnTheme copyWith({
Color? columnBackgroundColor,
Color? columnBorderColor,
double? columnBorderWidth,
Color? columnHeaderColor,
Color? columnHeaderTextColor,
Color? columnAddButtonBoxColor,
Color? columnAddIconColor,
}) {
return KanbanColumnTheme(
columnBackgroundColor: columnBackgroundColor ?? this.columnBackgroundColor,
columnBorderColor: columnBorderColor ?? this.columnBorderColor,
columnBorderWidth: columnBorderWidth ?? this.columnBorderWidth,
columnHeaderColor: columnHeaderColor ?? this.columnHeaderColor,
columnHeaderTextColor: columnHeaderTextColor ?? this.columnHeaderTextColor,
columnAddButtonBoxColor: columnAddButtonBoxColor ?? this.columnAddButtonBoxColor,
columnAddIconColor: columnAddIconColor ?? this.columnAddIconColor,
);
}