style function

Node style({
  1. String? media,
  2. bool? scoped,
  3. String? type,
  4. String? id,
  5. Map<String, dynamic> p = const {},
  6. @deprecated Map<String, dynamic> props = const {},
  7. Iterable<Node> c = const [],
  8. @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]);