I have recently upgraded flutter from 1.22 to 2.0, and as part of it I have upgraded few of my project dependencies to support flutter 2.0.
One of them(my project dependencies) is flutter_form_builder and I have upgraded it to its latest version which is 5.0.0.
I am also using simple_auth_flutter dependency in my project with version 2.0.9. And now, I am getting the below exception when I run flutter pub get.
Because no versions of vin_decoder match >0.1.2 <0.1.3 and vin_decoder >=0.1.3 <0.2.0-nullsafety depends on http ^0.12.2, vin_decoder >0.1.2 <0.2.0-nullsafety requires http ^0.12.2.
| And because vin_decoder 0.1.2 depends on http ^0.12.1, vin_decoder >=0.1.2 <0.2.0-nullsafety requires http ^0.12.1.
| Because simple_auth_flutter >=2.0.9 depends on simple_auth ^2.0.9 which depends on http ^0.13.0, simple_auth_flutter >=2.0.9 requires http ^0.13.0.
| Thus, simple_auth_flutter >=2.0.9 is incompatible with vin_decoder >=0.1.2 <0.2.0-nullsafety.
| And because validators 2.0.1 depends on vin_decoder ^0.1.2, simple_auth_flutter >=2.0.9 is incompatible with validators 2.0.1.
| Because flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 depends on validators ^2.0.1 and no versions of validators match >2.0.1 <3.0.0, flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 requires validators 2.0.1.
| Thus, simple_auth_flutter >=2.0.9 is incompatible with flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0.
| So, because MyApp depends on both flutter_form_builder ^5.0.0 and simple_auth_flutter ^2.0.9, version solving failed.
As I understand from the error, simple_auth_flutter and flutter_form_builder are inter dependent on each other and I believe there is some compatibility issue between the both due to different flutter version support they are providing.
Can I expect a compatible version of simple_auth_flutter with flutter 2.0 anytime soon? If that is not the case, is there any alternative solution to this problem or any work around that would be of help.
I have recently upgraded flutter from 1.22 to 2.0, and as part of it I have upgraded few of my project dependencies to support flutter 2.0.
One of them(my project dependencies) is
flutter_form_builder
and I have upgraded it to its latest version which is5.0.0
.I am also using
simple_auth_flutter
dependency in my project with version2.0.9
. And now, I am getting the below exception when I runflutter pub get
.Because no versions of vin_decoder match >0.1.2 <0.1.3 and vin_decoder >=0.1.3 <0.2.0-nullsafety depends on http ^0.12.2, vin_decoder >0.1.2 <0.2.0-nullsafety requires http ^0.12.2. | And because vin_decoder 0.1.2 depends on http ^0.12.1, vin_decoder >=0.1.2 <0.2.0-nullsafety requires http ^0.12.1. | Because simple_auth_flutter >=2.0.9 depends on simple_auth ^2.0.9 which depends on http ^0.13.0, simple_auth_flutter >=2.0.9 requires http ^0.13.0. | Thus, simple_auth_flutter >=2.0.9 is incompatible with vin_decoder >=0.1.2 <0.2.0-nullsafety. | And because validators 2.0.1 depends on vin_decoder ^0.1.2, simple_auth_flutter >=2.0.9 is incompatible with validators 2.0.1. | Because flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 depends on validators ^2.0.1 and no versions of validators match >2.0.1 <3.0.0, flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 requires validators 2.0.1. | Thus, simple_auth_flutter >=2.0.9 is incompatible with flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0. | So, because MyApp depends on both flutter_form_builder ^5.0.0 and simple_auth_flutter ^2.0.9, version solving failed.
As I understand from the error,
simple_auth_flutter
andflutter_form_builder
are inter dependent on each other and I believe there is some compatibility issue between the both due to different flutter version support they are providing.Can I expect a compatible version of
simple_auth_flutter
with flutter 2.0 anytime soon? If that is not the case, is there any alternative solution to this problem or any work around that would be of help.