Skip to content

Commit 784c981

Browse files
committed
Change expansion icon when item expands/contracts
1 parent 71fb121 commit 784c981

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/tree_node.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class _TreeNodeState<T> extends State<TreeNode<T>>
134134
onTap: () => _handleExpand(),
135135
child: _TreeNodeExpander(
136136
speed: _controller.duration!,
137-
expanded: widget.node.expanded,
137+
expanded: _isExpanded,
138138
themeData: _theme.expanderTheme,
139139
),
140140
)

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_treeview
22
description: A tree widget for Flutter that can be used to display nested, hierarchical data. It includes a number of features like styling labels, icons, and import and export utilities.
3-
version: 1.0.3+16
3+
version: 1.1.0
44
homepage: https://bitbucket.org/kevinandre/flutter_treeview/src/master/
55
repository: https://bitbucket.org/kevinandre/flutter_treeview/src/master/
66
issue_tracker: https://bitbucket.org/kevinandre/flutter_treeview/issues

0 commit comments

Comments
 (0)