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