I am trying to find a way to dynamically create and add a Text widget to a custom widget. But currently the Create Widget function only accepts UserWidgetClass and not the build in types.
My current workaround is to create a CustomTextWidget that only contains a text widget in it and create that widget and get the text widget from it but it is messy and cumbersome so I assume there is a better way?