source function
Node
source(
{ - String? src,
- String? srcset,
- String? media,
- dynamic sizes,
- String? type,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- @deprecated Map<String, dynamic> props = const {},
})
Implementation
Node source(
{String? src,
String? srcset,
String? media,
sizes,
String? type,
String? id,
className,
style,
Map<String, dynamic> p = const {},
@deprecated Map<String, dynamic> props = const {}}) =>
SelfClosingNode(
'source',
_apply([
p,
props
], {
'src': src,
'srcset': srcset,
'media': media,
'sizes': sizes,
'type': type,
'id': id,
'class': className,
'style': style
}));