I need to invoke some Widgets, many Widgets, with names as S1, S2, S3, and so on. Is it possible to use any variable to do this? Something like:
builder: (context) => S'$i'(), // with i variable as a counter, for example
instead of
builder: (context) => S1(),
builder: (context) => S2(),
builder: (context) => S3(),
I appreciate your help. Regards