'Flutter dynamic Dismissible height with ExpansionTile

enter image description here

I have Dismissible with ExpansionTile as a child. Is there any way to make Dismissible be flexible in height? For now it has static height, but should have child's height



Solution 1:[1]

Within a Column (for flexible height), you can use a Flexible, with fit:FlexFit.loose, This will size to the child.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 jbryanh