style function
Node
style(
{ - String? media,
- bool? scoped,
- String? type,
- String? id,
- Map<String, dynamic> p = const {},
- @deprecated Map<String, dynamic> props = const {},
- Iterable<Node> c = const [],
- @deprecated Iterable<Node> children = const [],
})
Implementation
Node style(
{String? media,
bool? scoped,
String? type,
String? id,
Map<String, dynamic> p = const {},
@deprecated Map<String, dynamic> props = const {},
Iterable<Node> c = const [],
@deprecated Iterable<Node> children = const []}) =>
h(
'style',
_apply([p, props],
{'media': media, 'scoped': scoped, 'type': type, 'id': id}),
[...c, ...children]);