isIconButton method

bool isIconButton()

Determines if this is an icon-only button

Implementation

bool isIconButton() {
  return buttonIcon != null && properties.title == null;
}