of static method
Gets the closest VSNodeDataProvider from the widget tree
Implementation
static VSNodeDataProvider of(BuildContext context) {
return context
.findAncestorWidgetOfExactType<InheritedNodeDataProvider>()!
.provider;
}
Gets the closest VSNodeDataProvider from the widget tree
static VSNodeDataProvider of(BuildContext context) {
return context
.findAncestorWidgetOfExactType<InheritedNodeDataProvider>()!
.provider;
}