FlatNode<T> constructor

FlatNode<T>({
  1. required TreeNode<T> node,
  2. required int depth,
  3. required List<bool> ancestorIsLast,
})

Creates a FlatNode indicating the node's layout depth and ancestorIsLast info.

Implementation

FlatNode({
  required this.node,
  required this.depth,
  required this.ancestorIsLast,
});