cssText property
Textual representation of the declaration block. Setting this attribute changes the style.
Implementation
@override
String get cssText {
Map<CSSPropertyID, String> reverse(Map map) => {for (var e in map.entries) e.value: e.key};
final propertyMap = reverse(CSSPropertyNameMap);
StringBuffer result = StringBuffer();
ComputedProperties.forEach((id) {
result.write(' ');
result.write(propertyMap[id]);
result.write(': ');
result.write(propertyMap[id]);
result.write(';');
});
return result.toString();
}
set
cssText
(String value)
Implementation
void set cssText(value) {}