noframes function
ReactNode
noframes({
- String? title,
- String? lang,
- bool? translate,
- String? dir,
- 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 onClick()?,
- void onClickCapture()?,
- void onDoubleClick()?,
- void onDoubleClickCapture()?,
- void onMouseDown()?,
- void onMouseDownCapture()?,
- void onMouseUp()?,
- void onMouseUpCapture()?,
- void onMouseMove()?,
- void onMouseMoveCapture()?,
- void onMouseEnter()?,
- void onMouseEnterCapture()?,
- void onMouseLeave()?,
- void onMouseLeaveCapture()?,
- void onInput()?,
- void onInputCapture()?,
- void onChange()?,
- void onChangeCapture()?,
- void onSubmit()?,
- void onSubmitCapture()?,
- void onKeyDown()?,
- void onKeyDownCapture()?,
- void onKeyUp()?,
- void onKeyUpCapture()?,
- void onFocus()?,
- void onFocusCapture()?,
- void onBlur()?,
- void onBlurCapture()?,
- void onPointerDown()?,
- void onPointerDownCapture()?,
- void onPointerUp()?,
- void onPointerUpCapture()?,
- void onPointerMove()?,
- void onPointerMoveCapture()?,
- void onTouchStart()?,
- void onTouchStartCapture()?,
- void onTouchEnd()?,
- void onTouchEndCapture()?,
- void onTouchMove()?,
- void onTouchMoveCapture()?,
- void onWheel()?,
- void onWheelCapture()?,
- void onDrag()?,
- void onDragCapture()?,
- void onDrop()?,
- void onDropCapture()?,
- void ref()?,
- ReactChildren children = const [],
- String? key,
- 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,
);
}