TreeNodeScope constructor
TreeNodeScope({})
Creates a TreeNodeScope.
This widget shouldn't be created manually, the TreeView already takes
care of it internally. It should only be used to access node and isExpanded.
Implementation
TreeNodeScope({
Key? key,
required this.node,
required this.theme,
this.isExpanded = false,
bool shouldRefresh = false,
required Widget child,
}) : _shouldRefresh = shouldRefresh,
super(key: key, child: child);