Image constructor

Creates a new instance of Image.

Implementation

const Image(
  this.source, {
  this.alternativeText,
  this.onError,
  super.style,
  super.animation,
  super.onTap,
  super.onPointerDown,
  super.onPointerUp,
  super.onPointerEnter,
  super.onPointerLeave,
  super.onPointerMove,
  super.onPointerCancel,
  super.onPointerOver,
  super.onPointerOut,
  super.key,
  super.ref,
});