flushDisplayProperties method
void
flushDisplayProperties()
Implementation
void flushDisplayProperties() {
Element? _target = target;
// If style target element not exists, no need to do flush operation.
if (_target == null) return;
if (_pendingProperties.containsKey(DISPLAY) &&
_target.isConnected) {
CSSPropertyValue? prevValue = _properties[DISPLAY];
CSSPropertyValue currentValue = _pendingProperties[DISPLAY]!;
_properties[DISPLAY] = currentValue;
_pendingProperties.remove(DISPLAY);
_emitPropertyChanged(DISPLAY, prevValue?.value, currentValue.value, baseHref: currentValue.baseHref);
}
}