bool visible

The visibility and availability of the display object.

Display objects that are not visible are disabled. For example, if visible=false for an InteractiveObject instance, it cannot be clicked.

Source

bool get visible => _visible;
void visible=(bool value)

Source

set visible(bool value) {
  if (value is bool) _visible = value;
}