TreeVicinity constructor

const TreeVicinity({
  1. required int depth,
  2. required int row,
})

Creates a reference to a TreeRow in a TreeView, with the xIndex and yIndex converted to terms of depth and row, respectively.

Implementation

const TreeVicinity({
  required int depth,
  required int row,
}) : super(xIndex: depth, yIndex: row);