Flutter: how to force an application restart (in production mode)? : <p>In <em>production mode</em>, is there a way to force a full restart of the application (I am <strong>not</strong> talking about a hot reload at development time!).</p>

<p>Practical use cases:</p>

<ul>
<li><p>At initialization process the application detects that there is no network connection.  The lack of network connectivity might have prevented a correct start up (e.g. loading of external resource such as JSON files...).</p></li>
<li><p>During the initial handshaking, new versions of some important resources need to be downloaded (kind of update).</p></li>
</ul>

<p>In both use cases, I would like the application to proceed with a full restart, rather than having to build a complex logic at the ApplicationState level.</p>

<p>Many thanks for your hints.</p>
