menuitem function

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

Implementation

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