Size of app after using a package like (intl) in more than one package

I want to ask a question about for example if I want to use a package like flutter_screenutil I will need to add a package in pubspec for main and component_library and features will this affect the total size of the app or flutter can handle that and remove redundant duplication?

Dear @yousef_mo!

In general, it is a good practice to not duplicate the packages in multiple places as it takes a lot of effort to maintain the correct package versions when upgrading them. Although, that should not affect the size od the app.

Sincerely
Vid

2 Likes

Dear @yousef_mo,

Thank you for reaching out to us with your question about using the package “flutter_screenutil” in your Flutter project. We hope that the response provided by Vid, was helpful in addressing your concerns.

If you have any further questions or need additional assistance regarding package management or any other topic related to Flutter development, please don’t hesitate to ask. Our community is here to support you!

Best regards.