SVG/src/utilities/xml library

Extensions

AttributeMapXmlEventAttributeExtension on List<XmlEventAttribute>
Extension on List

Constants

kXlinkNamespace → const String
The namespace for xlink from the SVG 1.1 spec.

Functions

getAttribute(Map<String, String> el, String name, {String? def = '', bool checkStyle = true}) String?
Gets the attribute, trims it, and returns the attribute or default if the attribute is null or ''.
getHrefAttribute(Map<String, String> attributes) String?
Get the xlink:href or href attribute, preferring xlink.