img constructor
const
img({
- String? alt,
- CrossOrigin? crossOrigin,
- int? width,
- int? height,
- MediaLoading? loading,
- required String src,
- ReferrerPolicy? referrerPolicy,
- String? id,
- String? classes,
- Styles? styles,
- Map<
String, String> ? attributes, - Map<
String, EventCallback> ? events, - Key? key,
The <img> HTML element embeds an image into the document.
Implementation
const img({
this.alt,
this.crossOrigin,
this.width,
this.height,
this.loading,
required this.src,
this.referrerPolicy,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});