setRenderStyle method
Implementation
void setRenderStyle(String property, String present, {String? baseHref}) {
if (DebugFlags.shouldLogTransitionForProp(property)) {
cssLogger.info(
'[style][apply] $tagName.$property present="$present" baseHref=${baseHref ?? 'null'}');
}
dynamic value;
if (present.isEmpty) {
value = null;
} else if (CSSVariable.isCSSSVariableProperty(property)) {
value = present;
} else {
value = renderStyle.resolveValue(property, present, baseHref: baseHref);
}
setRenderStyleProperty(property, value);
}