dismissFabGroup method

void dismissFabGroup()

Dismisses any open FabGroup popover in the current context.

This can be used to programmatically close an open FAB group without user interaction.

Implementation

void dismissFabGroup() {
  Pylon.visiblePylons(this).whereType<Pylon<_PopRef>>().forEach((element) {
    element.value?.completer?.remove();
  });

  pylonOr<_PopRef>()?.completer?.remove();
}