iampopal / flutter_locales

MIT License
7 stars 2 forks source link

error while compiling #9

Closed aakarapetyan closed 1 month ago

aakarapetyan commented 1 year ago

Hello! Can u help to understand. What am I doing wrong?

It's seems like unsoported pub lib intl: ^0.18.1

Because no versions of flutter_locales match >3.0.1 <4.0.0 and flutter_locales 3.0.1 depends on flutter_localizations from sdk, flutter_locales ^3.0.1 requires flutter_localizations
from sdk. And because every version of flutter_localizations from sdk depends on intl 0.18.0, flutter_locales ^3.0.1 requires intl 0.18.0.

iampopal commented 1 year ago

There are 2 ways to fix this issue:

1) Update other of your packages to latest version so other packages will also include intl: ^0.18.1

2) Downgrade flutter_locales: ^2.0.2

On Fri, 1 Sep 2023 at 12:59 AM Artem Karapetyan @.***> wrote:

Hello! Can u help to understand. What am I doing wrong?

It's seems like unsoported pub lib intl: ^0.18.1

Because no versions of flutter_locales match >3.0.1 <4.0.0 and flutter_locales 3.0.1 depends on flutter_localizations from sdk, flutter_locales ^3.0.1 requires flutter_localizations from sdk. And because every version of flutter_localizations from sdk depends on intl 0.18.0, flutter_locales ^3.0.1 requires intl 0.18.0.

— Reply to this email directly, view it on GitHub https://github.com/iampopal/flutter_locales/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIUFLXHEAXNBCUCYBGXDTR3XYDX2HANCNFSM6AAAAAA4GTMULE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

iampopal commented 1 month ago

New version of package has fixed this issue.