copyWith method
Implementation
EditorWidgetsState copyWith({
final CNode? focusedNode,
final List<CNode>? focusedNodes,
final CNode? hoveredNode,
final List<int>? xLines,
final List<int>? yLines,
final Map<String, Widget>? nodeControls,
final Widget? defaultNodeControls,
}) {
return EditorWidgetsState(
focusedNode: focusedNode ?? this.focusedNode,
focusedNodes: focusedNodes ?? this.focusedNodes,
hoveredNode: hoveredNode ?? this.hoveredNode,
xLines: xLines ?? this.xLines,
yLines: yLines ?? this.yLines,
nodeControls: nodeControls ?? this.nodeControls,
defaultNodeControls: defaultNodeControls ?? this.defaultNodeControls,
);
}