setVisible method
Sets whether the overlay should be visible.
Implementation
void setVisible([bool? visible]) {
state.visibility = Visibility.fromBoolean(visible ?? true);
}
Sets whether the overlay should be visible.
void setVisible([bool? visible]) {
state.visibility = Visibility.fromBoolean(visible ?? true);
}