input function
Node
input({
- String? accept,
- String? alt,
- bool? autocomplete,
- bool? autofocus,
- bool? checked,
- String? dirname,
- bool? disabled,
- String? form,
- String? formaction,
- String? formenctype,
- String? method,
- String? formnovalidate,
- String? formtarget,
- num? height,
- String? list,
- dynamic max,
- num? maxlength,
- dynamic min,
- bool? multiple,
- String? name,
- String? pattern,
- String? placeholder,
- bool? readonly,
- bool? required,
- num? size,
- String? src,
- num? step,
- String? type,
- String? value,
- num? width,
- String? id,
- dynamic className,
- dynamic style,
- Map<
String, dynamic> p = const {},
Implementation
Node input({
String? accept,
String? alt,
bool? autocomplete,
bool? autofocus,
bool? checked,
String? dirname,
bool? disabled,
String? form,
String? formaction,
String? formenctype,
String? method,
String? formnovalidate,
String? formtarget,
num? height,
String? list,
max,
num? maxlength,
min,
bool? multiple,
String? name,
String? pattern,
String? placeholder,
bool? readonly,
bool? required,
num? size,
String? src,
num? step,
String? type,
String? value,
num? width,
String? id,
className,
style,
Map<String, dynamic> p = const {},
}) =>
SelfClosingNode(
'input',
_apply([
p
], {
'accept': accept,
'alt': alt,
'autocomplete':
autocomplete == null ? null : (autocomplete ? 'on' : 'off'),
'autofocus': autofocus,
'checked': checked,
'dirname': dirname,
'disabled': disabled,
'form': form,
'formaction': formaction,
'formenctype': formenctype,
'method': method,
'formnovalidate': formnovalidate,
'formtarget': formtarget,
'height': height,
'list': list,
'max': max,
'maxlength': maxlength,
'min': min,
'multiple': multiple,
'name': name,
'pattern': pattern,
'placeholder': placeholder,
'readonly': readonly,
'required': required,
'size': size,
'src': src,
'step': step,
'type': type,
'value': value,
'width': width,
'id': id,
'class': className,
'style': style
}));