-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because every version of form_builder_validators depends on flutter_localizations from sdk which depends on intl 0.20.1 #925
Comments
Thanks for filing - this is related to Flutter pinning and #914. So I would recommend the same course of action as there, adding dependency overrides to your pubspec:
|
I made the suggested change, but it indicated that it was not the correct package and suggested using version 0.19.0, in turn when making this change, it asked me to put version 0.18.0.
Resolving dependencies...
Because form_builder_validators 11.0.0 depends on intl ^0.19.0 and no versions of form_builder_validators match >11.0.0 <12.0.0, form_builder_validators ^11.0.0 requires intl ^0.19.0.
So, because app_siga depends on both intl ^0.18.0 and form_builder_validators ^11.0.0, version solving failed.
Exited (1).
[cid:95392658-92c1-4733-8699-49a7f6c6a86e]
Best regards
…________________________________
From: Moritz ***@***.***>
Sent: Thursday, December 12, 2024 3:55 AM
To: dart-lang/i18n ***@***.***>
Cc: PabloRG-git ***@***.***>; Author ***@***.***>
Subject: Re: [dart-lang/i18n] IntBecause every version of form_builder_validators depends on flutter_localizations from sdk which depends on intl 0.20.1 (Issue #925)
Thanks for filing - this is related to Flutter pinning and #914<#914>. So I would recommend the same course of action as there, adding dependency overrides to your pubspec:
dependency_overrides:
intl: 0.20.1
—
Reply to this email directly, view it on GitHub<#925 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNUMII2ZLJCQO7L25KZDJ732FFMQRAVCNFSM6AAAAABTOREBIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGQYDSNZSG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Could you post your |
name: app_siga environment: dependencies: cupertino_icons: ^1.0.8 dev_dependencies: flutter_lints: ^5.0.0 uses-material-design: true I performed a Purge. |
Could you try adding the dependency override?
|
Okay, thanks for the help.
Best regards.
…________________________________
From: Moritz ***@***.***>
Sent: Monday, December 16, 2024 2:40 AM
To: dart-lang/i18n ***@***.***>
Cc: PabloRG-git ***@***.***>; Author ***@***.***>
Subject: Re: [dart-lang/i18n] Because every version of form_builder_validators depends on flutter_localizations from sdk which depends on intl 0.20.1 (Issue #925)
Could you try adding the dependency override?
...
dependencies:
sizer: ^3.0.3
intl: ^0.19.0
flutter:
sdk: flutter
dependency_overrides:
intl: 0.20.1
...
—
Reply to this email directly, view it on GitHub<#925 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNUMIIZQF6DH763LWMKOWNT2F2GXFAVCNFSM6AAAAABTOREBIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUHEZTIMJUGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Describe the bug
Because every version of form_builder_validators depends on flutter_localizations from sdk which depends on intl 0.20.1, every version of form_builder_validators requires intl 0.20.1.
So, because app_siga depends on both intl ^0.19.0 and form_builder_validators ^11.0.0, version solving failed.
To Reproduce
import 'package:flutter_form_builder/flutter_form_builder.dart';
import 'package:form_builder_validators/form_builder_validators.dart';
The text was updated successfully, but these errors were encountered: