MacosImageIcon constructor

const MacosImageIcon(
  1. ImageProvider<Object>? image, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. String? semanticLabel,
})

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:

Implementation

const MacosImageIcon(
  this.image, {
  super.key,
  this.size,
  this.color,
  this.semanticLabel,
});