cssText property

String cssText

Textual representation of the declaration block. Setting this attribute changes the style.

Implementation

String get cssText {
  String css = EMPTY_STRING;
  _properties.forEach((property, value) {
    if (css.isNotEmpty) css += ' ';
    css += '${_kebabize(property)}: $value;';
  });
  return css;
}