buttonIcon property

Icon? get buttonIcon

Implementation

Icon? get buttonIcon {
  if (icon != null) return icon;
  if (_buttonIcon == null && (iconName != null && iconName!.isNotEmpty)) {
    _buttonIcon = Icon(iconName);
  }
  return _buttonIcon;
}