onVisible method
Implementation
void onVisible(bool vis) {
_visibleStream.add(vis);
visible = vis;
// Hide content after popup is closed.
if (!vis) {
_contentVisible.add(false);
}
}
void onVisible(bool vis) {
_visibleStream.add(vis);
visible = vis;
// Hide content after popup is closed.
if (!vis) {
_contentVisible.add(false);
}
}