visible property
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 visible = true;
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
@override
set visible(bool value) {
super.visible = value;
if (value == false) _hideElement();
}