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

Creates an image icon.

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

Source

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