Input constructor
const
Input({
- InputType? type,
- String? name,
- String? value,
- String? accept,
- int? maxLength,
- int? minLength,
- String? pattern,
- String? placeholder,
- bool? multiple,
- bool? required,
- bool? checked,
- bool? readOnly,
- bool? disabled,
- EventCallback? onInput,
- EventCallback? onChange,
- EventCallback? onKeyUp,
- EventCallback? onKeyDown,
- EventCallback? onKeyPress,
- Key? key,
- String? id,
- String? title,
- String? style,
- String? classAttribute,
- int? tabIndex,
- bool? draggable,
- bool? contentEditable,
- String? onClickAttribute,
- String? innerText,
- List<
Widget> ? children, - EventCallback? onClick,
- 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,
);