Pass parameters on CreateWidget on C++

Thanks for the answer. Sorry, I forgot to mention that I wanted it on C++, I only set the category of the question to C++.

I already knew about the way blueprint does it.