flutter_localizationsとfirebase_auth_web のintlのバージョンが合わない問題

Because firebase_auth_web 0.3.3 depends on intl ^0.16.1 and no versions of firebase_auth_web match >0.3.3 <0.4.0, firebase_auth_web ^0.3.3 requires intl ^0.16.1.

And because every version of flutter_localizations from sdk depends on intl 0.17.0, flutter_localizations from sdk is incompatible with firebase_auth_web ^0.3.3.

And because firebase_auth 0.20.1 depends on firebase_auth_web ^0.3.3 and no versions of firebase_auth match >0.20.1 <0.21.0, flutter_localizations from sdk is incompatible with firebase_auth ^0.20.1.

モバイルしか作ってないから、関係ないと思っている場合も、 flutter2.0からはwebがデフォルトで有効になっているみたいなので、 --no-enable-webにしても解決されない様子

ということで潔くoverrideする

github.com

dependency_overrides:
    intl: ^0.16.1