dismiss method
Dismisses the contextual popup menu.
Implementation
void dismiss() {
if (!_isShow) {
return;
}
_entry?.remove();
_isShow = false;
widget.onDismiss?.call();
widget.stateChanged?.call(false);
}
Dismisses the contextual popup menu.
void dismiss() {
if (!_isShow) {
return;
}
_entry?.remove();
_isShow = false;
widget.onDismiss?.call();
widget.stateChanged?.call(false);
}