ImageIcon constructor

const ImageIcon(ImageProvider image, { Key key, double size, Color color, String semanticLabel })

Creates an image icon.

The size and color default to the value given by the current IconTheme.

Implementation

const ImageIcon(this.image, {
  Key key,
  this.size,
  this.color,
  this.semanticLabel,
}) : super(key: key);