Hides the widget and removes it from the layout if gone is true.
gone
Similar to display: none in CSS.
display: none
Widget gone(bool gone) => Visibility( visible: !gone, maintainState: false, child: this, );