void visible=(bool value)

Source

@override
set visible(bool value) {
  super.visible = value;
  if (value == false) _hideElement();
}