easy_localization_loader 0.0.2

Flutter Android iOS

Easy Localization Loader custom assets loaders for easy_localization (Json, CSV, http, Xml, API ...)

Custom assets loaders for Easy Localization package #

Pub Version Code Climate issues GitHub closed issues GitHub contributors GitHub repo size GitHub forks GitHub stars

CodeFactor Grade GitHub license

Supported formats #

  • [x] JSON (JsonAssetLoader)
  • [x] CSV (CsvAssetLoader)
  • [x] HTTP (HttpAssetLoader)
  • [x] XML (XmlAssetLoader, XmlSingleAssetLoader)
  • [x] Yaml (YamlAssetLoader, YamlSingleAssetLoader)
  • [x] FILE (FileAssetLoader)

Configuration #

  1. Add this to your package's pubspec.yaml file:
dependencies:
  #Easy Localization main package
  easy_localization: <last_version>

    # stable version install from https://pub.dev/packages
  easy_localization_loader: <last_version>

  # Dev version install from git REPO
  easy_localization_loader:
    git: https://github.com/aissat/easy_localization_loader.git

  1. Change assetLoader and patch
...
void main(){
  runApp(EasyLocalization(
    child: MyApp(),
    supportedLocales: [Locale('en', 'US'), Locale('ar', 'DZ')],
    path: 'resources/langs/langs.csv',
    assetLoader: CsvAssetLoader()
  ));
}
...
  1. All done!.
10
likes
60
pub points
90%
popularity

Easy Localization Loader custom assets loaders for easy_localization (Json, CSV, http, Xml, API ...)

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

mr.aissat@gmail.com

License

MIT (LICENSE)

Dependencies

csv, flutter, http, xml, yaml

More

Packages that depend on easy_localization_loader