msayed-net / localize_and_translate

Flutter localization in easy steps
MIT License
52 stars 22 forks source link

Package is not working as Expected #33

Open AbdallahAwd opened 3 months ago

AbdallahAwd commented 3 months ago

Describe the bug There is an Analysis Issue on Pub.dev and it's not working for example this line in main func is not defined

 await LocalizeAndTranslate.init(
    assetLoader: const AssetLoaderRootBundleJson(
        'assets/lang/'), // <-- change the path of the translation files
    supportedLanguageCodes: <String>[
      'ar',
      'en',
    ],

To Reproduce Steps to reproduce the behavior: It's a syntax Error not a logical one

Screenshots image image

Desktop (please complete the following information):

Smartphone (please complete the following information):