copyWith method
Returns a copy of this object with new attributes.
Implementation
TreeViewTheme copyWith({
Color? lineColor,
LineStyle? lineStyle,
double? lineThickness,
double? indent,
bool? roundLineCorners,
TextDirection? direction,
}) {
return TreeViewTheme(
lineColor: lineColor ?? this.lineColor,
lineStyle: lineStyle ?? this.lineStyle,
lineThickness: lineThickness ?? this.lineThickness,
indent: indent ?? this.indent,
roundLineCorners: roundLineCorners ?? this.roundLineCorners,
direction: direction ?? this.direction,
);
}