VSNodeDataProvider constructor
VSNodeDataProvider({
- required VSNodeManager nodeManager,
- VSHistoryManger? historyManager,
Wraps VSNodeManager to allow UI interaction and updates
Implementation
VSNodeDataProvider({
required this.nodeManager,
///Set this to false if you dont want undo functionality
this.historyManager,
}) {
if (historyManager != null) {
historyManager!.provider = this;
historyManager!.updateHistory();
}
}