Gets the device locale data, independent of the app locale settings.
List languages = await Devicelocale.preferredLanguages; String locale = await Devicelocale.currentLocale;
this should return a list of the preferred/current language locales setup on the device, with the current one being the first in the list or just the currently set device locale.
When first created this was a Swift based plugin, but due to these issues the Swift code has been removed and it now uses a simple Objective C call.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.