NamespaceFileTranslationLoader constructor
NamespaceFileTranslationLoader({})
Implementation
NamespaceFileTranslationLoader(
{required this.namespaces,
this.fallbackDir = "en",
this.basePath = "assets/flutter_i18n",
this.useCountryCode = false,
this.useScriptCode = false,
forcedLocale,
decodeStrategies})
: super(
basePath: basePath,
useCountryCode: useCountryCode,
useScriptCode: useScriptCode,
forcedLocale: forcedLocale,
decodeStrategies: decodeStrategies) {
assert(namespaces != null);
assert(namespaces!.length > 0);
}