localeName property

  1. @override
String get localeName

Get the name of the current locale.

Warning

This property is deprecated on Platform. It is only implemented by the legacy LocalPlatform and FakePlatform classes, and cannot be accessed through Platform.current. Use NativePlatform to access these properties instead, accessed as NativePlatform.current.

Implementation

@override
String get localeName => _nativePlatform.localeName;