svgResourceContent static method
Returns a ResourceContent
for the icon with name
.
Implementation
static ResourceContent? svgResourceContent(String name) {
var path = getIconPath(name);
if (path == null) return null;
return _resourceContentCache.get(path);
}