How to show an empty widget in flutter?

This Article is posted by seven.srikanth at 5/26/2020 6:29:01 AM



You can achieve empty widget using the below code.

SizedBox.shrink()

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;








0 Comments
Login to comment.
Recent Comments












© 2018 - Fluttercentral | Email to me - seven.srikanth@gmail.com