today, i am showing how to expand and collapse the data

step 1: first i click text where i pass route through it will navigate other dart file myiternary.dart


step 2: i wii go to myiternary.dart file

Refrence:https://medium.com/flutterdevs/expansion-tile-in-flutter-d2b7ba4a1f4b