ExpandableNodeItem<Data, Tree extends ITreeNode<Data>> constructor

const ExpandableNodeItem<Data, Tree extends ITreeNode<Data>>({
  1. Key? key,
  2. required TreeNodeWidgetBuilder<Tree> builder,
  3. required AutoScrollController scrollController,
  4. required Tree node,
  5. required Animation<double> animation,
  6. required ValueSetter<Tree> onToggleExpansion,
  7. int? index,
  8. bool remove = false,
  9. ExpansionIndicatorBuilder<Data>? expansionIndicatorBuilder,
  10. ValueSetter<Tree>? onItemTap,
  11. required bool showRootNode,
  12. required Indentation indentation,
  13. required LastChildCacheManager lastChildCacheManager,
})

Implementation

const ExpandableNodeItem({
  super.key,
  required this.builder,
  required this.scrollController,
  required this.node,
  required this.animation,
  required this.onToggleExpansion,
  this.index,
  this.remove = false,
  this.expansionIndicatorBuilder,
  this.onItemTap,
  required this.showRootNode,
  required this.indentation,
  required this.lastChildCacheManager,
});