InputText constructor

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

Implementation

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