The pre-init BootstrapSplash passed the raw device locale to its MaterialApp, so booting under an Asturian (ast) device locale threw the 'locale not supported by localization delegates' warning — the Material/Cupertino delegates ship no ast. The main app already routes ast to Spanish framework chrome via materialLocaleFor; apply the same mapping in the splash. Drop @visibleForTesting since it's now shared production code. |
||
|---|---|---|
| .. | ||
| data | ||
| db | ||
| di | ||
| domain | ||
| i18n | ||
| security | ||
| services | ||
| state | ||
| ui | ||
| app.dart | ||
| bootstrap.dart | ||
| main.dart | ||