option function

DomNode 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<DomNode> c = const [],
  11. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode 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<DomNode> c: const [],
        @deprecated Iterable<DomNode> children: const []}) =>
    h(
        'option',
        _apply([
          p,
          props
        ], {
          'disabled': disabled,
          'label': label,
          'selected': selected,
          'value': value,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));