hidePopupsWhereSpec abstract method
Hide popups for which the provided test
return true.
If disableAnimation
is true and a popup animation is enabled then the
animation will not be used when hiding the popups.
Implementation
void hidePopupsWhereSpec(
bool Function(PopupSpec popupSpec) test, {
bool disableAnimation = false,
});