copyWith method
Implementation
TreeConfiguration copyWith({
TextStyle? titleStyle,
double? nodeHeight,
Widget? prefixIcon,
Duration? animatedDuration,
bool? showCheckbox,
bool? animatePrefixIcon,
}) {
return TreeConfiguration(
titleStyle: titleStyle ?? this.titleStyle,
nodeHeight: nodeHeight ?? this.nodeHeight,
prefixIcon: prefixIcon ?? this.prefixIcon,
animatedDuration: animatedDuration ?? this.animatedDuration,
showCheckbox: showCheckbox ?? this.showCheckbox,
animatePrefixIcon: animatePrefixIcon ?? this.animatePrefixIcon,
);
}