setInlineStyle method
Implementation
void setInlineStyle(String property, String value) {
// Current only for mark property is setting by inline style.
inlineStyle[property] = value;
// recalculate matching styles for element when inline styles are removed.
if (value.isEmpty) {
style.removeProperty(property, true);
recalculateStyle();
} else {
style.setProperty(property, value, isImportant: true);
}
}