embraceitmobile / animated_tree_view

Animated TreeView based on AnimatedList allows building fully customizable Nodes that can be nested to infinite levels and children.
https://pub.dev/packages/animated_tree_view
MIT License
49 stars 23 forks source link

Please make AnimationController in ExpansionIndicatorState public #45

Open Chris1234567899 opened 3 months ago

Chris1234567899 commented 3 months ago

Hi, thanks for the great package. A minor thing though: For simplifying the process of creating a custom ExpansionIndicator (extending the abstract ExpansionIndicatorState class), it would be nice to get public access to its AnimationController.

Right now it is private: late final AnimationController _controller = AnimationController( duration: animationDuration, vsync: this, );

Could you make it public by removing the underscore pls?