title: How to change a Flutter app language without restarting the app?
body: <p>In the settings page of my app, I would like to add an option that controls the app language.</p>
  
  <p>I can set the language before starting the app like this:</p>
  
  <pre class="lang-dart prettyprint-override"><code>  @override
    Widget build(BuildContext context) {
      return MaterialApp(
        // other arguments
        locale: Locale('ar'),
      );
    }
  </code></pre>
  
  <p>But is it possible to change the language without restarting the app?</p>