In production mode, is there a way to force a full restart of the application (I am not talking about a hot reload at development time!).
P
The flutter_phoenix package is based on Rémi Rousselet's answer, making it even simpler.
void main() { runApp( Phoenix( child: App(), ), ); }
Then when you need to restart the app, just call:
Phoenix.rebirth(context);