It is very easy to add the Collapse element to your application. You need to follow the steps below to add the Collapse element:
Clicking on one of the headers of the Collapse element opens the detail panel. You can add a direct element here or you can create more complex sections by adding rows.
Collapse element, like other elements, must be added into a Container element. Although we generally design the screen by adding it into Row, it can also be added into other Container type elements.