visible property

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.

Implementation

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

Implementation

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