removedNode<Data, Tree extends ITreeNode<Data> > static method
Widget
removedNode<Data, Tree extends ITreeNode<Data> >({
- required Tree node,
- required TreeNodeWidgetBuilder<
Tree> builder, - required AutoScrollController scrollController,
- required Animation<
double> animation, - required ExpansionIndicatorBuilder<
Data> ? expansionIndicator, - required ValueSetter<
Tree> ? onItemTap, - required ValueSetter<
Tree> onToggleExpansion, - required bool showRootNode,
- required Indentation indentation,
- required LastChildCacheManager lastChildCacheManager,
Implementation
static Widget removedNode<Data, Tree extends ITreeNode<Data>>({
required Tree node,
required TreeNodeWidgetBuilder<Tree> builder,
required AutoScrollController scrollController,
required Animation<double> animation,
required ExpansionIndicatorBuilder<Data>? expansionIndicator,
required ValueSetter<Tree>? onItemTap,
required ValueSetter<Tree> onToggleExpansion,
required bool showRootNode,
required Indentation indentation,
required LastChildCacheManager lastChildCacheManager,
}) {
return ExpandableNodeItem<Data, Tree>(
key: ValueKey(node.key),
builder: builder,
scrollController: scrollController,
node: node,
remove: true,
animation: animation,
indentation: indentation,
expansionIndicatorBuilder: expansionIndicator,
onItemTap: onItemTap,
onToggleExpansion: onToggleExpansion,
showRootNode: showRootNode,
lastChildCacheManager: lastChildCacheManager,
);
}