Closed yamadade closed 11 months ago
void main() { WidgetsFlutterBinding.ensureInitialized(); // add this LocaleSettings.useDeviceLocale(); // and this runApp(MyApp()); }
The readme contains an explanation like this, but I can't find LocaleSettings.useDeviceLocale();. What does this mean?
LocaleSettings.useDeviceLocale();
Hello, LocaleSettings is a generated class after you run dart run slang
LocaleSettings
dart run slang
I see! That's how it is. Thank you for letting me know.
The readme contains an explanation like this, but I can't find
LocaleSettings.useDeviceLocale();
. What does this mean?