aleksanderwozniak / table_calendar

Highly customizable, feature-packed calendar widget for Flutter
Apache License 2.0
1.85k stars 1k forks source link

incompatible with flutter_localizations #856

Closed richertc closed 8 months ago

richertc commented 9 months ago

Because app depends on flutter_localizations from sdk which depends on intl 0.18.1, intl 0.18.1 is required. So, because app depends on intl 0.19.0, version solving failed.

I would argue that flutter_localizations is a decently used dependency. So it would be much appreciated if that could work together.

brixxnatt commented 9 months ago

Any fix of this ??

aleksanderwozniak commented 9 months ago

From the looks of it intl is one of the pinned packages that are tied to a specific Flutter SDK version. This issue will be solved once there is a Flutter release that pins intl to 0.19.0.

Right now as a workaround you could use dependency override, or simply downgrade table_calendar to 3.0.9.

dependency_overrides:
  intl: ^0.18.1