Change expansion icon when item expands/contracts

This commit is contained in:
luckyrat 2021-07-09 11:21:48 +01:00
parent 71fb121848
commit 784c981fff
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ class _TreeNodeState<T> extends State<TreeNode<T>>
onTap: () => _handleExpand(),
child: _TreeNodeExpander(
speed: _controller.duration!,
expanded: widget.node.expanded,
expanded: _isExpanded,
themeData: _theme.expanderTheme,
),
)