diff --git a/lib/src/tree_node.dart b/lib/src/tree_node.dart index aab0e7a..3c55f59 100644 --- a/lib/src/tree_node.dart +++ b/lib/src/tree_node.dart @@ -134,7 +134,7 @@ class _TreeNodeState extends State> onTap: () => _handleExpand(), child: _TreeNodeExpander( speed: _controller.duration!, - expanded: widget.node.expanded, + expanded: _isExpanded, themeData: _theme.expanderTheme, ), ) diff --git a/pubspec.yaml b/pubspec.yaml index 86e0044..a29edb9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_treeview 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. -version: 1.0.3+16 +version: 1.1.0 homepage: https://bitbucket.org/kevinandre/flutter_treeview/src/master/ repository: https://bitbucket.org/kevinandre/flutter_treeview/src/master/ issue_tracker: https://bitbucket.org/kevinandre/flutter_treeview/issues