Input constructor

const Input({
  1. InputType? type,
  2. String? name,
  3. String? value,
  4. String? accept,
  5. int? maxLength,
  6. int? minLength,
  7. String? pattern,
  8. String? placeholder,
  9. bool? multiple,
  10. bool? required,
  11. bool? checked,
  12. bool? readOnly,
  13. bool? disabled,
  14. EventCallback? onInput,
  15. EventCallback? onChange,
  16. EventCallback? onKeyUp,
  17. EventCallback? onKeyDown,
  18. EventCallback? onKeyPress,
  19. Key? key,
  20. String? id,
  21. String? title,
  22. String? style,
  23. String? classAttribute,
  24. int? tabIndex,
  25. bool? draggable,
  26. bool? contentEditable,
  27. bool? hidden,
  28. String? onClickAttribute,
  29. String? innerText,
  30. List<Widget>? children,
  31. EventCallback? onClick,
  32. Map<String, String>? additionalAttributes,
})

Implementation

const Input({
  this.type,
  this.name,
  this.value,
  this.accept,
  this.maxLength,
  this.minLength,
  this.pattern,
  this.placeholder,
  this.multiple,
  this.required,
  this.checked,
  this.readOnly,
  this.disabled,
  this.onInput,
  this.onChange,
  this.onKeyUp,
  this.onKeyDown,
  this.onKeyPress,
  Key? key,
  String? id,
  String? title,
  String? style,
  String? classAttribute,
  int? tabIndex,
  bool? draggable,
  bool? contentEditable,
  bool? hidden,
  String? onClickAttribute,
  String? innerText,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        id: id,
        title: title,
        style: style,
        classAttribute: classAttribute,
        tabIndex: tabIndex,
        draggable: draggable,
        contentEditable: contentEditable,
        hidden: hidden,
        onClickAttribute: onClickAttribute,
        innerText: innerText,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );