LocalePlus class

Locale plus is an easy way to get native devices Locale data.

Constructors

LocalePlus()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAmSymbol() Future<String?>
Returns the AM symbol for the current locale of device.
getDecimalSeparator() Future<String?>
Returns the decimal separator for the current locale of device.
getFirstDayOfWeek() Future<int?>
Returns the first day of week for the current locale of device. The values are numbered following the ISO-8601 standard, from 1 (Monday) to 7 (Sunday).
getGroupingSeparator() Future<String?>
Returns the grouping separator for the current locale of device.
getLanguageCode() Future<String?>
Returns the language code for the current locale of device.
getPmSymbol() Future<String?>
Returns the PM symbol for the current locale of device.
getRegionCode() Future<String?>
Returns the region code for the current locale of device.
getSecondsFromGMT() Future<int?>
Returns the seconds from GMT for the current locale of device.
getTimeZoneIdentifier() Future<String?>
Returns the time zone identifier for the current locale of device.
is24HourTime() Future<bool?>
Returns true if the device uses 24 hour time.
isUsingSamsungKeyboard() Future<bool?>
Returns true if the user is using a samsung keyboard. false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
usesMetricSystem() Future<bool?>
Returns true if the device uses Metric System.

Operators

operator ==(Object other) bool
The equality operator.
inherited