hide method

Visibility hide(
  1. bool isVisible, {
  2. bool maintainSize = false,
})

Creates a Visibility widget with the current widget as its child and sets its visibility based on the passed condition

Implementation

Visibility hide(bool isVisible, {bool maintainSize = false}) =>
    _visibility(isVisible = false, maintainSize);