TreeState<T> constructor

TreeState<T>({
  1. int activeIndex = 0,
  2. int scrollOffset = 0,
  3. Set<Object>? expandedKeys,
})

Implementation

TreeState({
  this.activeIndex = 0,
  this.scrollOffset = 0,
  Set<Object>? expandedKeys,
}) : expanded = expandedKeys ?? <Object>{};