$uiButton function
DOMElement tag ui-button
for UIButton.
Implementation
DOMElement $uiButton({
id,
String? field,
classes,
style,
Map<String, String>? attributes,
String? text,
bool commented = false,
}) {
return $tag('ui-button',
id: id,
classes: classes,
style: style,
attributes: {
if (field != null && field.isNotEmpty) 'field': field,
...?attributes
},
content: text,
commented: commented);
}