innim_l10n library

Classes

Bidi
This provides utility methods for working with bidirectional text. All of the methods are static, and are organized into a class primarily to group them together for documentation and discoverability.
BidiFormatter
Bidi stands for Bi-directional text. According to Wikipedia: Bi-directional text is text containing text in both text directionalities, both right-to-left (RTL) and left-to-right (LTR). It generally involves text containing different types of alphabets, but may also refer to boustrophedon, which is changing text directionality in each row.
DateFormat
DateFormat is for formatting and parsing dates in a locale-sensitive manner.
Intl
The Intl class provides a common entry point for internationalization related tasks. An Intl instance can be created for a particular locale and used to create a date format via anIntl.date(). Static methods on this class are also used in message formatting.
MicroMoney
Used primarily for currency formatting, this number-like class stores millionths of a currency unit, typically as an Int64.
MultipleLocalizations
Use MultipleLocalizations.load to implement load function in your localization delegate, instead of call initializeMessages explicitly.
NumberFormat
Provides the ability to format a number in a locale-specific way.
TextDirection
Represents directionality of text.

Functions

dateTimeSymbolMap() Map
Returns a Map from locale names to the DateSymbols instance for that locale. Internal use only. Call initializeDateFormatting instead.
initializeDateFormatting([String? locale, String? ignored]) Future<void>
This should be called for at least one locale before any date formatting methods are called. It sets up the lookup for date symbols. Both the locale and ignored parameter are ignored, as the data for all locales is directly available.
toBeginningOfSentenceCase(String? input, [String? locale]) String?
Convert a string to beginning of sentence case, in a way appropriate to the locale.

Typedefs

InitializeMessages = Future<bool> Function(String localeName)
Function for initialize messages. It's will be initializeMessages from generated code.