applyInlineStyle method

void applyInlineStyle(
  1. ElementCSSStyleDeclaration style
)

Implementation

void applyInlineStyle(ElementCSSStyleDeclaration style) {
  if (inlineStyle.isNotEmpty) {
    inlineStyle.forEach((propertyName, entry) {
      if (entry.value.isEmpty) return;
      style.enqueueInlineProperty(propertyName, entry.value,
          isImportant: entry.important ? true : null);
    });
  }
}