My requirement to expand and collapse api data using accorodian

step 1: first we click text where i pass route , through route it will navigate the other dart file feature.dart
we will click feature

my code looks like

now well go to feature.dart file


we will use accorodian.dart file