intl_helpers library
A library for general helper code associated with the intl library rather than confined to specific parts of it.
Properties
var messageLookup #
The internal mechanism for looking up messages. We expect this to be set by the implementing package so that we're not dependent on its implementation.
var messageLookup = const UninitializedLocaleData('initializeMessages(<locale>)', null)
Functions
void initializeInternalMessageLookup(Function lookupFunction) #
Initialize the message lookup mechanism. This is for internal use only.
User applications should import message_lookup_by_library.dart
and call
initializeMessages
void initializeInternalMessageLookup(Function lookupFunction) { if (messageLookup is UninitializedLocaleData) { messageLookup = lookupFunction(); } }