isIconButton property

bool get isIconButton

Whether this instance is configured as an icon button variant.

Implementation

bool get isIconButton =>
    buttonIcon != null ||
    buttonCustomIcon != null ||
    buttonImageAsset != null;