ActionButtonIcon.withImageIcon constructor

const ActionButtonIcon.withImageIcon({
  1. required ImageIcon icon,
  2. EdgeInsets? padding,
})

Creates an icon configuration for a tooltip action button with an ImageIcon.

The icon parameter is required and specifies the image icon to display. The optional padding parameter defines spacing around the icon.

Implementation

const ActionButtonIcon.withImageIcon({
  required ImageIcon this.icon,
  this.padding,
});