visible property
Whether the modal is visible in the DOM.
NOTE: It is possible it is temporarily hidden if another modal has
taken over but still reports true
for visible.
Implementation
@override
bool get visible => _isVisible;
Implementation
@Input()
set visible(bool visible) {
if (_isVisible == visible || _isDestroyed) return;
if (visible == true) {
open();
} else {
close();
}
}