getCSSVariable method

  1. @override
String? getCSSVariable(
  1. String identifier,
  2. String propertyName
)
override

Implementation

@override
String? getCSSVariable(String identifier, String propertyName) {
  Map<String, String>? storage = _storage;
  _addDependency(identifier, propertyName);

  if (storage != null && storage.containsKey(identifier)) {
    return storage[identifier];
  } else {
    // Inherits from renderStyle tree.
    return parent?.getCSSVariable(identifier, propertyName);
  }
}