First a bug
1) Some namespacing/alias issue with has
using Toybox.WatchUi as Ui;
// ... code here
// eventually
if (Ui has :TextPicker) {
// do things
}
// Yields error:
ERROR: fenix6xpro: file:lineno: Undefined symbol ':Ui' detected...