form function
Node
form(
{ - String? accept,
- String? acceptCharset,
- String? action,
- bool? autocomplete,
- String? enctype,
- String? method,
- String? name,
- bool? novalidate,
- String? target,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- Iterable<Node> c = const [],
})
Implementation
Node form({
String? accept,
String? acceptCharset,
String? action,
bool? autocomplete,
String? enctype,
String? method,
String? name,
bool? novalidate,
String? target,
String? id,
className,
style,
Map<String, dynamic> p = const {},
Iterable<Node> c = const [],
}) =>
h(
'form',
_apply([
p
], {
'accept': accept,
'accept-charset': acceptCharset,
'action': action,
'autocomplete':
autocomplete != null ? (autocomplete ? 'on' : 'off') : null,
'enctype': enctype,
'method': method,
'name': name,
'novalidate': novalidate,
'target': target,
'id': id,
'class': className,
'style': style
}),
[...c]);