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