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 {},
- @deprecated Map<String, dynamic> props = 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 {},
@deprecated Map<String, dynamic> props = const {}}) =>
SelfClosingNode(
'img',
_apply([
p,
props
], {
'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
}));