noframes function

ReactNode noframes({
  1. String? title,
  2. String? lang,
  3. bool? translate,
  4. String? dir,
  5. Object? hidden,
  6. bool? inert,
  7. String? accessKey,
  8. bool? draggable,
  9. bool? spellcheck,
  10. String? writingSuggestions,
  11. String? autocapitalize,
  12. String? popover,
  13. String? id,
  14. String? className,
  15. String? slot,
  16. String? tabIndex,
  17. String? role,
  18. Map<String, Object?>? style,
  19. void onClick(
    1. ReactMouseEvent<EventTarget>
    )?,
  20. void onClickCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  21. void onDoubleClick(
    1. ReactMouseEvent<EventTarget>
    )?,
  22. void onDoubleClickCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  23. void onMouseDown(
    1. ReactMouseEvent<EventTarget>
    )?,
  24. void onMouseDownCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  25. void onMouseUp(
    1. ReactMouseEvent<EventTarget>
    )?,
  26. void onMouseUpCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  27. void onMouseMove(
    1. ReactMouseEvent<EventTarget>
    )?,
  28. void onMouseMoveCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  29. void onMouseEnter(
    1. ReactMouseEvent<EventTarget>
    )?,
  30. void onMouseEnterCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  31. void onMouseLeave(
    1. ReactMouseEvent<EventTarget>
    )?,
  32. void onMouseLeaveCapture(
    1. ReactMouseEvent<EventTarget>
    )?,
  33. void onInput(
    1. ReactInputEvent<EventTarget>
    )?,
  34. void onInputCapture(
    1. ReactInputEvent<EventTarget>
    )?,
  35. void onChange(
    1. ReactChangeEvent<EventTarget>
    )?,
  36. void onChangeCapture(
    1. ReactChangeEvent<EventTarget>
    )?,
  37. void onSubmit(
    1. ReactFormEvent<EventTarget>
    )?,
  38. void onSubmitCapture(
    1. ReactFormEvent<EventTarget>
    )?,
  39. void onKeyDown(
    1. ReactKeyboardEvent<EventTarget>
    )?,
  40. void onKeyDownCapture(
    1. ReactKeyboardEvent<EventTarget>
    )?,
  41. void onKeyUp(
    1. ReactKeyboardEvent<EventTarget>
    )?,
  42. void onKeyUpCapture(
    1. ReactKeyboardEvent<EventTarget>
    )?,
  43. void onFocus(
    1. ReactFocusEvent<EventTarget>
    )?,
  44. void onFocusCapture(
    1. ReactFocusEvent<EventTarget>
    )?,
  45. void onBlur(
    1. ReactFocusEvent<EventTarget>
    )?,
  46. void onBlurCapture(
    1. ReactFocusEvent<EventTarget>
    )?,
  47. void onPointerDown(
    1. ReactPointerEvent<EventTarget>
    )?,
  48. void onPointerDownCapture(
    1. ReactPointerEvent<EventTarget>
    )?,
  49. void onPointerUp(
    1. ReactPointerEvent<EventTarget>
    )?,
  50. void onPointerUpCapture(
    1. ReactPointerEvent<EventTarget>
    )?,
  51. void onPointerMove(
    1. ReactPointerEvent<EventTarget>
    )?,
  52. void onPointerMoveCapture(
    1. ReactPointerEvent<EventTarget>
    )?,
  53. void onTouchStart(
    1. ReactTouchEvent<EventTarget>
    )?,
  54. void onTouchStartCapture(
    1. ReactTouchEvent<EventTarget>
    )?,
  55. void onTouchEnd(
    1. ReactTouchEvent<EventTarget>
    )?,
  56. void onTouchEndCapture(
    1. ReactTouchEvent<EventTarget>
    )?,
  57. void onTouchMove(
    1. ReactTouchEvent<EventTarget>
    )?,
  58. void onTouchMoveCapture(
    1. ReactTouchEvent<EventTarget>
    )?,
  59. void onWheel(
    1. ReactWheelEvent<EventTarget>
    )?,
  60. void onWheelCapture(
    1. ReactWheelEvent<EventTarget>
    )?,
  61. void onDrag(
    1. ReactDragEvent<EventTarget>
    )?,
  62. void onDragCapture(
    1. ReactDragEvent<EventTarget>
    )?,
  63. void onDrop(
    1. ReactDragEvent<EventTarget>
    )?,
  64. void onDropCapture(
    1. ReactDragEvent<EventTarget>
    )?,
  65. void ref(
    1. HTMLElement?
    )?,
  66. ReactChildren children = const [],
  67. String? key,
  68. Map<String, Object?> additionalProps = const {},
})

Implementation

ReactNode noframes({
  String? title,
  String? lang,
  bool? translate,
  String? dir,
  Object? hidden,
  bool? inert,
  String? accessKey,
  bool? draggable,
  bool? spellcheck,
  String? writingSuggestions,
  String? autocapitalize,
  String? popover,
  String? id,
  String? className,
  String? slot,
  String? tabIndex,
  String? role,
  Map<String, Object?>? style,
  void Function(ReactMouseEvent)? onClick,
  void Function(ReactMouseEvent)? onClickCapture,
  void Function(ReactMouseEvent)? onDoubleClick,
  void Function(ReactMouseEvent)? onDoubleClickCapture,
  void Function(ReactMouseEvent)? onMouseDown,
  void Function(ReactMouseEvent)? onMouseDownCapture,
  void Function(ReactMouseEvent)? onMouseUp,
  void Function(ReactMouseEvent)? onMouseUpCapture,
  void Function(ReactMouseEvent)? onMouseMove,
  void Function(ReactMouseEvent)? onMouseMoveCapture,
  void Function(ReactMouseEvent)? onMouseEnter,
  void Function(ReactMouseEvent)? onMouseEnterCapture,
  void Function(ReactMouseEvent)? onMouseLeave,
  void Function(ReactMouseEvent)? onMouseLeaveCapture,
  void Function(ReactInputEvent)? onInput,
  void Function(ReactInputEvent)? onInputCapture,
  void Function(ReactChangeEvent)? onChange,
  void Function(ReactChangeEvent)? onChangeCapture,
  void Function(ReactFormEvent)? onSubmit,
  void Function(ReactFormEvent)? onSubmitCapture,
  void Function(ReactKeyboardEvent)? onKeyDown,
  void Function(ReactKeyboardEvent)? onKeyDownCapture,
  void Function(ReactKeyboardEvent)? onKeyUp,
  void Function(ReactKeyboardEvent)? onKeyUpCapture,
  void Function(ReactFocusEvent)? onFocus,
  void Function(ReactFocusEvent)? onFocusCapture,
  void Function(ReactFocusEvent)? onBlur,
  void Function(ReactFocusEvent)? onBlurCapture,
  void Function(ReactPointerEvent)? onPointerDown,
  void Function(ReactPointerEvent)? onPointerDownCapture,
  void Function(ReactPointerEvent)? onPointerUp,
  void Function(ReactPointerEvent)? onPointerUpCapture,
  void Function(ReactPointerEvent)? onPointerMove,
  void Function(ReactPointerEvent)? onPointerMoveCapture,
  void Function(ReactTouchEvent)? onTouchStart,
  void Function(ReactTouchEvent)? onTouchStartCapture,
  void Function(ReactTouchEvent)? onTouchEnd,
  void Function(ReactTouchEvent)? onTouchEndCapture,
  void Function(ReactTouchEvent)? onTouchMove,
  void Function(ReactTouchEvent)? onTouchMoveCapture,
  void Function(ReactWheelEvent)? onWheel,
  void Function(ReactWheelEvent)? onWheelCapture,
  void Function(ReactDragEvent)? onDrag,
  void Function(ReactDragEvent)? onDragCapture,
  void Function(ReactDragEvent)? onDrop,
  void Function(ReactDragEvent)? onDropCapture,
  void Function(HTMLElement?)? ref,
  ReactChildren children = const [],
  String? key,
  Map<String, Object?> additionalProps = const {},
}) {
  return HostNode<Map<String, Object?>>(
    _noframesHost,
    {
      if (title != null) 'title': title,
      if (lang != null) 'lang': lang,
      if (translate != null) 'translate': translate,
      if (dir != null) 'dir': dir,
      if (hidden != null) 'hidden': hidden,
      if (inert != null) 'inert': inert,
      if (accessKey != null) 'accessKey': accessKey,
      if (draggable != null) 'draggable': draggable,
      if (spellcheck != null) 'spellcheck': spellcheck,
      if (writingSuggestions != null) 'writingSuggestions': writingSuggestions,
      if (autocapitalize != null) 'autocapitalize': autocapitalize,
      if (popover != null) 'popover': popover,
      if (id != null) 'id': id,
      if (className != null) 'className': className,
      if (slot != null) 'slot': slot,
      if (tabIndex != null) 'tabIndex': tabIndex,
      if (role != null) 'role': role,
      if (style != null) 'style': style,
      if (onClick != null)
        'onClick': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onClick',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onClick(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onClickCapture != null)
        'onClickCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onClickCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onClickCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onDoubleClick != null)
        'onDoubleClick': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDoubleClick',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDoubleClick(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onDoubleClickCapture != null)
        'onDoubleClickCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDoubleClickCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDoubleClickCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseDown != null)
        'onMouseDown': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseDown',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseDown(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseDownCapture != null)
        'onMouseDownCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseDownCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseDownCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseUp != null)
        'onMouseUp': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseUp',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseUp(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseUpCapture != null)
        'onMouseUpCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseUpCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseUpCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseMove != null)
        'onMouseMove': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseMove',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseMove(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseMoveCapture != null)
        'onMouseMoveCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseMoveCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseMoveCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseEnter != null)
        'onMouseEnter': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseEnter',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseEnter(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseEnterCapture != null)
        'onMouseEnterCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseEnterCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseEnterCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseLeave != null)
        'onMouseLeave': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseLeave',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseLeave(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onMouseLeaveCapture != null)
        'onMouseLeaveCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onMouseLeaveCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactMouseEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onMouseLeaveCapture(args[0] as ReactMouseEvent);
              return null;
            },
          ),
        ),
      if (onInput != null)
        'onInput': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onInput',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactInputEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onInput(args[0] as ReactInputEvent);
              return null;
            },
          ),
        ),
      if (onInputCapture != null)
        'onInputCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onInputCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactInputEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onInputCapture(args[0] as ReactInputEvent);
              return null;
            },
          ),
        ),
      if (onChange != null)
        'onChange': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onChange',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactChangeEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onChange(args[0] as ReactChangeEvent);
              return null;
            },
          ),
        ),
      if (onChangeCapture != null)
        'onChangeCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onChangeCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactChangeEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onChangeCapture(args[0] as ReactChangeEvent);
              return null;
            },
          ),
        ),
      if (onSubmit != null)
        'onSubmit': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onSubmit',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFormEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onSubmit(args[0] as ReactFormEvent);
              return null;
            },
          ),
        ),
      if (onSubmitCapture != null)
        'onSubmitCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onSubmitCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFormEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onSubmitCapture(args[0] as ReactFormEvent);
              return null;
            },
          ),
        ),
      if (onKeyDown != null)
        'onKeyDown': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onKeyDown',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactKeyboardEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onKeyDown(args[0] as ReactKeyboardEvent);
              return null;
            },
          ),
        ),
      if (onKeyDownCapture != null)
        'onKeyDownCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onKeyDownCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactKeyboardEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onKeyDownCapture(args[0] as ReactKeyboardEvent);
              return null;
            },
          ),
        ),
      if (onKeyUp != null)
        'onKeyUp': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onKeyUp',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactKeyboardEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onKeyUp(args[0] as ReactKeyboardEvent);
              return null;
            },
          ),
        ),
      if (onKeyUpCapture != null)
        'onKeyUpCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onKeyUpCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactKeyboardEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onKeyUpCapture(args[0] as ReactKeyboardEvent);
              return null;
            },
          ),
        ),
      if (onFocus != null)
        'onFocus': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onFocus',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFocusEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onFocus(args[0] as ReactFocusEvent);
              return null;
            },
          ),
        ),
      if (onFocusCapture != null)
        'onFocusCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onFocusCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFocusEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onFocusCapture(args[0] as ReactFocusEvent);
              return null;
            },
          ),
        ),
      if (onBlur != null)
        'onBlur': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onBlur',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFocusEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onBlur(args[0] as ReactFocusEvent);
              return null;
            },
          ),
        ),
      if (onBlurCapture != null)
        'onBlurCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onBlurCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactFocusEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onBlurCapture(args[0] as ReactFocusEvent);
              return null;
            },
          ),
        ),
      if (onPointerDown != null)
        'onPointerDown': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerDown',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerDown(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onPointerDownCapture != null)
        'onPointerDownCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerDownCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerDownCapture(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onPointerUp != null)
        'onPointerUp': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerUp',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerUp(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onPointerUpCapture != null)
        'onPointerUpCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerUpCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerUpCapture(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onPointerMove != null)
        'onPointerMove': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerMove',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerMove(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onPointerMoveCapture != null)
        'onPointerMoveCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onPointerMoveCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactPointerEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onPointerMoveCapture(args[0] as ReactPointerEvent);
              return null;
            },
          ),
        ),
      if (onTouchStart != null)
        'onTouchStart': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchStart',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchStart(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onTouchStartCapture != null)
        'onTouchStartCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchStartCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchStartCapture(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onTouchEnd != null)
        'onTouchEnd': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchEnd',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchEnd(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onTouchEndCapture != null)
        'onTouchEndCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchEndCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchEndCapture(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onTouchMove != null)
        'onTouchMove': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchMove',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchMove(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onTouchMoveCapture != null)
        'onTouchMoveCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onTouchMoveCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactTouchEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onTouchMoveCapture(args[0] as ReactTouchEvent);
              return null;
            },
          ),
        ),
      if (onWheel != null)
        'onWheel': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onWheel',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactWheelEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onWheel(args[0] as ReactWheelEvent);
              return null;
            },
          ),
        ),
      if (onWheelCapture != null)
        'onWheelCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onWheelCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactWheelEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onWheelCapture(args[0] as ReactWheelEvent);
              return null;
            },
          ),
        ),
      if (onDrag != null)
        'onDrag': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDrag',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactDragEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDrag(args[0] as ReactDragEvent);
              return null;
            },
          ),
        ),
      if (onDragCapture != null)
        'onDragCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDragCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactDragEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDragCapture(args[0] as ReactDragEvent);
              return null;
            },
          ),
        ),
      if (onDrop != null)
        'onDrop': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDrop',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactDragEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDrop(args[0] as ReactDragEvent);
              return null;
            },
          ),
        ),
      if (onDropCapture != null)
        'onDropCapture': ReactEventProp(
          ReactCallback(
            debugName: 'noframes.onDropCapture',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: false,
                  hostNamespace: 'web',
                  typeId: 'ReactDragEvent',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              onDropCapture(args[0] as ReactDragEvent);
              return null;
            },
          ),
        ),
      if (ref != null)
        'ref': ReactRefProp(
          ReactCallback(
            debugName: 'noframes.ref',
            signature: const (
              positional: [
                (
                  kind: ReactValueKind.hostValue,
                  nullable: true,
                  hostNamespace: 'web',
                  typeId: 'HTMLElement',
                  codecId: null,
                ),
              ],
              result: reactVoid,
              asynchronous: false,
            ),
            invoke: (args) {
              ref(args[0] as HTMLElement?);
              return null;
            },
          ),
        ),
      ...additionalProps,
    },
    children: normalizeChildren(children),
    key: key,
  );
}