copyWith method
Implementation
ColumnHeader copyWith({
bool Function()? empty,
String? Function()? text,
AlignmentGeometry Function()? alignment,
TextAlign Function()? textAlign,
bool Function()? showFilter,
bool Function()? showOrderBy,
TextStyle? Function()? textStyle,
Color? Function()? backgroundColor,
Color? Function()? foregroundColor,
}) {
return ColumnHeader(
empty: empty == null ? this.empty : empty(),
text: text == null ? this.text : text(),
alignment: alignment == null ? this.alignment : alignment(),
textAlign: textAlign == null ? this.textAlign : textAlign(),
showFilter: showFilter == null ? this.showFilter : showFilter(),
showOrderBy: showOrderBy == null ? this.showFilter : showOrderBy(),
textStyle: textStyle == null ? this.textStyle : textStyle(),
backgroundColor:
backgroundColor == null ? this.backgroundColor : backgroundColor(),
foregroundColor:
foregroundColor == null ? this.foregroundColor : foregroundColor(),
);
}