Closure UI component primitives in Dart