NamespaceFileTranslationLoader constructor
NamespaceFileTranslationLoader({})
Implementation
NamespaceFileTranslationLoader(
{required List<String>? this.namespaces,
String this.fallbackDir = "en",
String basePath = "assets/flutter_i18n",
String separator = "_",
bool useCountryCode = false,
bool useScriptCode = false,
Locale? forcedLocale,
List<BaseDecodeStrategy>? decodeStrategies})
: super(
basePath: basePath,
separator: separator,
useCountryCode: useCountryCode,
useScriptCode: useScriptCode,
forcedLocale: forcedLocale,
decodeStrategies: decodeStrategies) {
assert(namespaces != null);
assert(namespaces!.length > 0);
}