FileTranslationLoader constructor

FileTranslationLoader({
  1. String? fallbackFile = "en",
  2. String basePath = "assets/flutter_i18n",
  3. String separator = "_",
  4. bool useCountryCode = false,
  5. bool useScriptCode = false,
  6. Locale? forcedLocale,
  7. List<BaseDecodeStrategy>? decodeStrategies,
})

Implementation

FileTranslationLoader(
    {String? this.fallbackFile = "en",
    String this.basePath = "assets/flutter_i18n",
    String this.separator = "_",
    bool this.useCountryCode = false,
    bool this.useScriptCode = false,
    Locale? forcedLocale,
    List<BaseDecodeStrategy>? decodeStrategies}) {
  this.forcedLocale = forcedLocale;
  this.decodeStrategies = decodeStrategies;
}