MacosImageIcon constructor
const
MacosImageIcon(})
An icon that comes from an ImageProvider, e.g. an AssetImage.
The size and color default to the value given by the current MacosIconTheme.
See also:
- MacosIconButton, for interactive icons.
- MacosIconTheme, which provides ambient configuration for icons.
- MacosIcon, for icons based on glyphs from fonts instead of images.
Implementation
const MacosImageIcon(
this.image, {
super.key,
this.size,
this.color,
this.semanticLabel,
});