In many application, you have seen an expansion or a collapsed view like the above.

There are two ways of creating an expandable view in Flutter :

ExpansionTile
ExpansionPanelList & ExpansionPanel

So let’s start implementing it. First, you need to create a new flutter project with your IDE. If you are facing an error check this: Write your first Flutter app.

#flutter

Flutter: Expansion/Collapse view
2.55 GEEK