hasIcons property

bool get hasIcons

True if the FAB has a menu and at least one menu item has an icon.

Implementation

bool get hasIcons =>
    hasMenu &&
    menuItem.subMenu.itemGroups
        .any((itemGroup) => itemGroup.any((item) => item.hasIcon));