diff --git a/README.md b/README.md index 75caf465..e3c1113a 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,19 @@ void initState() { } ``` +**Step 4a: Override 'supportedLocales'** + +```dart +MaterialApp( + localizationsDelegates: const [ + GlobalMaterialLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, + ], + supportedLocales: LocaleSettings.supportedLocales, // <--- +) +``` + **Step 4b: iOS-only** ```