How to set widget using ConstructorHelpers?

Can you post the snipped ot code you are using & show folder structure where the widget is in?