I\'m new to Flutter so i am trying to get into it. But I\'m hanging on creating an ExpansionPanelList with ExpansionPanels in it. And Like the title says all created in goog
There is another way to implement same user experience that is using ExpansionTile
inside a ListView
ListView(
shrinkWrap: true,
children: [
ExpansionTile(
leading: Icon(Icons.event),
title: Text('Test1'),
children: [
ListTile(title: Text('Title of the item')),
ListTile(
title: Text('Title of the item2'),
)
],
),
ExpansionTile(
title: Text('Test2'),
children: [
ListTile(title: Text('Title of the item')),
ListTile(
title: Text('Title of the item2'),
)
],
)
],
)