If you create the widget in the PC and store the reference of the correct type (right click the Return Value pin of the Create Widget node and Promote To Variable to automate this process), there is no need to cast.
But perhaps you’re storing just a generic Widget reference to swap different layouts, each being another widget. In that case, you’d need to cast, of course. Or use the interface.
My answer to this comment is waiting
moderation and I don’t know why xD
Happens, when you (s)hit a blacklisted word, for example.