Input constructor

Input({
  1. String? name,
  2. String? placeholder,
  3. InputType type = InputType.text,
  4. String? id,
  5. InputController? controller,
  6. String? value,
  7. Map<String, String>? attributes,
  8. Map<String, dynamic>? style,
  9. String? className,
  10. List<Component>? children,
  11. void onClick(
    1. Event
    )?,
  12. void onDoubleClick(
    1. Event
    )?,
  13. void onContextMenu(
    1. Event
    )?,
  14. void onDragStart(
    1. Event
    )?,
  15. void onDrag(
    1. Event
    )?,
  16. void onDragEnd(
    1. Event
    )?,
  17. void onDragEnter(
    1. Event
    )?,
  18. void onDragOver(
    1. Event
    )?,
  19. void onDragLeave(
    1. Event
    )?,
  20. void onDrop(
    1. Event
    )?,
  21. void onKeyDown(
    1. Event
    )?,
  22. void onKeyPress(
    1. Event
    )?,
  23. void onKeyUp(
    1. Event
    )?,
  24. void onMouseOver(
    1. Event
    )?,
  25. void onMouseOut(
    1. Event
    )?,
  26. void onMouseDown(
    1. Event
    )?,
  27. void onMouseUp(
    1. Event
    )?,
  28. void onInput(
    1. Event
    )?,
  29. void onChange(
    1. Event
    )?,
  30. void onChangeText(
    1. String?
    )?,
  31. void onMouseMove(
    1. Event
    )?,
})

Implementation

Input({
  this.name,
  this.placeholder,
  this.type = InputType.text,
  super.id,
  this.controller,
  this.value,
  super.attributes,
  super.style,
  super.className,
  super.children,
  super.onClick,
  super.onDoubleClick,
  super.onContextMenu,
  super.onDragStart,
  super.onDrag,
  super.onDragEnd,
  super.onDragEnter,
  super.onDragOver,
  super.onDragLeave,
  super.onDrop,
  super.onKeyDown,
  super.onKeyPress,
  super.onKeyUp,
  super.onMouseOver,
  super.onMouseOut,
  super.onMouseDown,
  super.onMouseUp,
  super.onInput,
  super.onChange,
  this.onChangeText,
  super.onMouseMove,
}) : super(
        tag: 'input',
      );