img function
Node
img(
{ - String? alt,
- String? crossorigin,
- num? height,
- String? ismap,
- String? longdesc,
- dynamic sizes,
- String? src,
- String? srcset,
- String? usemap,
- num? width,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
})
Implementation
Node img({
String? alt,
String? crossorigin,
num? height,
String? ismap,
String? longdesc,
sizes,
String? src,
String? srcset,
String? usemap,
num? width,
String? id,
className,
style,
Map<String, dynamic> p = const {},
}) =>
SelfClosingNode(
'img',
_apply([
p
], {
'alt': alt,
'crossorigin': crossorigin,
'height': height,
'ismap': ismap,
'longdesc': longdesc,
'sizes': sizes,
'src': src,
'srcset': srcset,
'usemap': usemap,
'width': width,
'id': id,
'class': className,
'style': style
}));