This is problably sthg simple, I would like to pop a widget and to pass different parameters, here is what I have :
class MyScreen extends StatefulWidget {
final String param0;
final String param1;
final String param2;
MyScreen(param0,param1,param2);
@override
MyState createState() => new MyScreenState();
}
...
I would like to go back to this widget passing parameters, something like this :
Navigator.pop(context, "NewParam0", "NewParam1", "NewParam2");
but it doesn't work.
I can pop with 1 parameter and the context, but it doesn't work with multiple parameters,
Any idea?