copyWith method
CursorTheme
copyWith({
- SystemMouseCursor? selectionCursor,
- SystemMouseCursor? dragCursor,
- SystemMouseCursor? nodeCursor,
- SystemMouseCursor? portCursor,
Creates a copy of this theme with the given fields replaced.
Implementation
CursorTheme copyWith({
SystemMouseCursor? selectionCursor,
SystemMouseCursor? dragCursor,
SystemMouseCursor? nodeCursor,
SystemMouseCursor? portCursor,
}) {
return CursorTheme(
selectionCursor: selectionCursor ?? this.selectionCursor,
dragCursor: dragCursor ?? this.dragCursor,
nodeCursor: nodeCursor ?? this.nodeCursor,
portCursor: portCursor ?? this.portCursor,
);
}