duplicate of `lib/core/ng_element.dart` ?