menuitem function

DomNode menuitem(
  1. {bool checked,
  2. dynamic command,
  3. bool default_,
  4. bool disabled,
  5. String icon,
  6. String label,
  7. String radiogroup,
  8. String type,
  9. String id,
  10. dynamic className,
  11. dynamic style,
  12. Map<String, dynamic> p = const {},
  13. @deprecated Map<String, dynamic> props = const {},
  14. Iterable<DomNode> c = const [],
  15. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode menuitem(
        {bool checked,
        command,
        bool default_,
        bool disabled,
        String icon,
        String label,
        String radiogroup,
        String type,
        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(
        'menuitem',
        _apply([
          p,
          props
        ], {
          'checked': checked,
          'command': command,
          'default': default_,
          'disabled': disabled,
          'icon': icon,
          'label': label,
          'radiogroup': radiogroup,
          'type': type,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));