hidePopupsWhereSpec abstract method

void hidePopupsWhereSpec(
  1. bool test(
    1. PopupSpec popupSpec
    ), {
  2. bool disableAnimation = false,
})

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,
});