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 {}, - @deprecated Map<
String, dynamic> props = const {}, - Iterable<
Node> c = const [], - @deprecated Iterable<
Node> children = 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 {},
@deprecated Map<String, dynamic> props = const {},
Iterable<Node> c = const [],
@deprecated Iterable<Node> children = const []}) =>
h(
'form',
_apply([
p,
props
], {
'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, ...children]);