option function

Node option({
  1. bool? disabled,
  2. String? label,
  3. bool? selected,
  4. String? value,
  5. String? id,
  6. dynamic className,
  7. dynamic style,
  8. Map<String, dynamic> p = const {},
  9. @deprecated Map<String, dynamic> props = const {},
  10. Iterable<Node> c = const [],
  11. @deprecated Iterable<Node> children = const [],
})

Implementation

Node option(
        {bool? disabled,
        String? label,
        bool? selected,
        String? value,
        String? id,
        className,
        style,
        Map<String, dynamic> p = const {},
        @deprecated Map<String, dynamic> props = const {},
        Iterable<Node> c = const [],
        @deprecated Iterable<Node> children = const []}) =>
    h(
        'option',
        _apply([
          p,
          props
        ], {
          'disabled': disabled,
          'label': label,
          'selected': selected,
          'value': value,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c, ...children]);