How to set widget using ConstructorHelpers?

You must be doing something wrong in your code elsewhere. Here is proof it works