Image constructor
const
Image(
- String source, {
- String? alternativeText,
- EventCallback<
EventDetails< ? onError,Event> > - Style? style,
- Animation? animation,
- EventCallback<
EventDetails< ? onTap,Event> > - PointerEventCallback<
PointerEventDetails> ? onPointerDown, - PointerEventCallback<
PointerEventDetails> ? onPointerUp, - PointerEventCallback<
PointerEventDetails> ? onPointerEnter, - PointerEventCallback<
PointerEventDetails> ? onPointerLeave, - PointerEventCallback<
PointerEventDetails> ? onPointerMove, - PointerEventCallback<
PointerEventDetails> ? onPointerCancel, - PointerEventCallback<
PointerEventDetails> ? onPointerOver, - PointerEventCallback<
PointerEventDetails> ? onPointerOut, - String? key,
- Ref? ref,
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,
});