Skip to content

LocalizationLoader

Interface for location loaders who knows how to load a translation map for a Locale.

Implementers

Constructors

LocalizationLoader

LocalizationLoader()

Methods

load

Future<Map<String, dynamic>> load(
  1. Locale locale
)

Load translations for locale.

The map may be nested, in which case it is flattened into dot-separated keys when merged - see AssetLocalizations.flatten. Returning a flat Map<String, String> remains valid.