$uiButton function
DOMElement tag ui-button for UIButton.
Implementation
DOMElement $uiButton({
Object? id,
String? field,
Object? classes,
Object? 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,
);
}