PatchAllLocales class

The PatchAllLocales exposes async functions to patch the locales in numberFormatSymbols.

Constructors

PatchAllLocales()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

patchNumberSeperators({bool patchForSamsungKeyboards = false}) Future<void>
patchNumberSeperators patches all locales with the decimal seperators to the decimal separator of the user. The locales can also be patched for users with a samsung keyboard. This is done by changing the patchForSamsungKeyboards to true. The samsung keyboard always uses a '.' as input for a decimal seperator. This means that the DECIMAL_SEP is a '.' and the GROUP_SEP is a ',' see https://github.com/flutter/flutter/issues/61175