a string transport from one UI where it is typed to another where it is displayed
And do tell where, when and how those widgets are created, too.
it set name1 in struct then prints what it has […] but when I break the struct nothing comes out
Also please show how you do this particular thing.