InputText constructor
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,
- String? onClickAttribute,
- String? innerText,
- List<
Widget> ? children, - EventCallback? onInput,
- EventCallback? onChange,
- EventCallback? onClick,
- EventCallback? onKeyUp,
- EventCallback? onKeyDown,
- EventCallback? onKeyPress,
- 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,
);