hide method

Widget hide(
  1. {Key key,
  2. bool isVisible = false,
  3. bool maintainSize = false}
)

Hides a widget

Implementation

Widget hide({Key key, bool isVisible = false, bool maintainSize = false}) =>
    Visibility(
      key: key,
      child: this,
      visible: isVisible,
      maintainSize: maintainSize,
      maintainAnimation: maintainSize,
      maintainState: maintainSize,
    );