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
59 stars 29 forks source link

Build custom ExpansionIndicator #30

Closed AlehSabadashGmail closed 10 months ago

AlehSabadashGmail commented 11 months ago

I am slightly confused about building custom ExpansionIndicator, do not know how to do it. Probably you can provide a small example.

jawwad-hassan89 commented 11 months ago

You will need to extend the ExpansionIndicator and ExpansionIndicatorState classes in the expansion_indicator.dart file to create custom expansion indicators.

You can use the implementation for ChevronIndicator as a reference