You can achieve empty widget using the below code.
But there are a number of other ways to do it as well, for example, a container with zero height and width. But, above code saves you few lines of code. Thanks, Srikanth
This Article is posted by seven.srikanth at 5/26/2020 6:29:01 AM
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?You can achieve empty widget using the below code.
But there are a number of other ways to do it as well, for example, a container with zero height and width. But, above code saves you few lines of code. Thanks, Srikanth
Tags: empty widget; empty container; reclaim space;
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?