ExpansionChanged<T> typedef

ExpansionChanged<T> = void Function(TreeNode<T> node, bool expanded)

The callback function when the node expands or collapses

Implementation

typedef ExpansionChanged<T> = void Function(TreeNode<T> node, bool expanded);