preferredLanguages property

Future<List?> preferredLanguages

Returns a List of locales from the device the first in the list should be the current one set on the device

On Linux, returns the current locale.

Implementation

static Future<List?> get preferredLanguages async {
  final List? version = await _channel.invokeMethod('preferredLanguages');
  return version;
}