removeAttribute method
void
removeAttribute(
- String qualifiedName
)
Implementation
@mustCallSuper
void removeAttribute(String qualifiedName) {
ElementAttributeProperty? propertyHandler = _attributeProperties[qualifiedName];
if (propertyHandler != null && propertyHandler.deleter != null) {
propertyHandler.deleter!();
}
if (hasAttribute(qualifiedName)) {
attributes.remove(qualifiedName);
final isNeedRecalculate = _checkRecalculateStyle([qualifiedName]);
recalculateStyle(rebuildNested: isNeedRecalculate);
}
}