internalSetAttribute method

void internalSetAttribute(
  1. String qualifiedName,
  2. String value
)

Implementation

void internalSetAttribute(String qualifiedName, String value) {
  attributes[qualifiedName] = value;
  if (qualifiedName == 'class') {
    className = value;
    return;
  }
  final isNeedRecalculate = _checkRecalculateStyle([qualifiedName]);
  recalculateStyle(rebuildNested: isNeedRecalculate);
}