button function
Node
button({
- bool? autofocus,
- bool? disabled,
- dynamic form,
- String? formaction,
- String? formenctype,
- String? formmethod,
- bool? formnovalidate,
- String? formtarget,
- String? name,
- String? type,
- String? value,
- 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 button(
{bool? autofocus,
bool? disabled,
form,
String? formaction,
String? formenctype,
String? formmethod,
bool? formnovalidate,
String? formtarget,
String? name,
String? type,
String? value,
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(
'button',
_apply([
p,
props
], {
'autofocus': autofocus,
'disabled': disabled,
'form': form,
'formaction': formaction,
'formenctype': formenctype,
'formmethod': formmethod,
'formnovalidate': formnovalidate,
'formtarget': formtarget,
'name': name,
'type': type,
'value': value,
'id': id,
'class': className,
'style': style
}),
[...c, ...children]);