@override void removeAttribute(String key) { super.removeAttribute(key); if (_state != null) { _state!.onAttributeChanged(attributes); } }