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. Iterable<Node> c = 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 {},
  Iterable<Node> c = const [],
}) =>
    h(
        'menuitem',
        _apply([
          p
        ], {
          'checked': checked,
          'command': command,
          'default': default_,
          'disabled': disabled,
          'icon': icon,
          'label': label,
          'radiogroup': radiogroup,
          'type': type,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);