of static method

TreeView of(
  1. BuildContext context
)

Implementation

static TreeView of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<TreeView>()!;
}