script function
Node
script(
{ - bool? async,
- String? charset,
- bool? defer,
- String? src,
- String? type,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- Iterable<Node> c = const [],
})
Implementation
Node script({
bool? async,
String? charset,
bool? defer,
String? src,
String? type,
String? id,
className,
style,
Map<String, dynamic> p = const {},
Iterable<Node> c = const [],
}) =>
h(
'script',
_apply([
p
], {
'async': async,
'charset': charset,
'defer': defer,
'src': src,
'type': type,
'id': id,
'class': className,
'style': style
}),
[...c]);