$uiSVG function
DOMElement tag ui-svg for UISVG.
Implementation
DOMElement $uiSVG({
Object? id,
String? field,
Object? classes,
Object? style,
String? src,
Object? width,
Object? height,
Object? color,
Object? title,
Map<String, String>? attributes,
Object? content,
bool commented = false,
}) {
return $tag(
'ui-svg',
id: id,
classes: classes,
style: style,
attributes: {
if (field != null && field.isNotEmpty) 'field': field,
'src': ?src,
if (width != null) 'width': '$width',
if (height != null) 'height': '$height',
if (color != null) 'color': '$color',
if (title != null) 'title': '$title',
...?attributes,
},
content: content,
commented: commented,
);
}