setCSSVariable method

  1. @override
void setCSSVariable(
  1. String identifier,
  2. String value
)
override

Implementation

@override
void setCSSVariable(String identifier, String value) {
  _storage ??= HashMap<String, String>();
  _storage![identifier] = value;

  if (_propertyDependencies.containsKey(identifier)) {
    _notifyCSSVariableChanged(_propertyDependencies[identifier]!, value);
  }
}