slang-i18n / slang

Type-safe i18n for Dart and Flutter
https://pub.dev/packages/slang
MIT License
419 stars 36 forks source link

What is the better way to provide translation across app in a multiple plugin project? #203

Closed SAGARSURI closed 3 months ago

SAGARSURI commented 3 months ago

Hey @Tienisto

I have a flutter project with multiple local feature packages in it. I was going through your documentation regarding multiple packages. I see that we need to wrap the MaterialApp with multiple TranslationProvider which can make the widget tree look really weird and deeply nested. What are the other better alternatives to this approach?

Tienisto commented 3 months ago

Currently, there is no other solution