ExpandableNodeItem<Data, Tree extends ITreeNode<Data> > constructor
const
ExpandableNodeItem<Data, Tree extends ITreeNode<Data> > ({
- Key? key,
- required TreeNodeWidgetBuilder<
Tree> builder, - required AutoScrollController scrollController,
- required Tree node,
- required Animation<
double> animation, - required ValueSetter<
Tree> onToggleExpansion, - int? index,
- bool remove = false,
- ExpansionIndicatorBuilder<
Data> ? expansionIndicatorBuilder, - ValueSetter<
Tree> ? onItemTap, - required bool showRootNode,
- required Indentation indentation,
- 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,
});