I was looking for Android Visibility.GONE Equivalent option.
Show/hide widgets in Flutter programmatically
Above link approved solution will take space after setting Opacity to 0. For not taking any space as in Android That solution says
To make it not occupy space, replace it with an empty Container()
.
Someone please tell me how to achieve this. I need to make a Widget completely erase without taking any space programatically.
Note : I need similarly performing solution like Android native code view.setVisibility(View.GONE)