currentLocale property

Future<String?> currentLocale

Returns a String of the currently set DEVICE locale made up of the language and the region (e.g. en-US or en_US)

Implementation

static Future<String?> get currentLocale async {
  final String? locale = await _channel.invokeMethod('currentLocale');
  return locale;
}