In the settings page of my app, I would like to add an option that controls the app language.

I can set the language before starting the app like this:

```dart
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      // other arguments
      locale: Locale('ar'),
    );
  }

```

But is it possible to change the language without restarting the app?