codegrue / flutter_material_pickers

A flutter package for displaying common picker dialogs.
https://pub.dev/packages/flutter_material_pickers
MIT License
98 stars 61 forks source link

Error with old version of flutter_colorpicker #40

Closed wahidanvary closed 2 years ago

wahidanvary commented 2 years ago

When I use color picker on my app in the new version of dart I got the error:

Because flutter_material_pickers 3.1.0 depends on flutter_colorpicker ^0.4.0 and no versions of flutter_material_pickers match >3.1.0 <4.0.0, flutter_material_pickers ^3.1.0 requires flutter_colorpicker ^0.4.0.
And because every version of card_settings from path depends on flutter_material_pickers ^3.1.0, every version of card_settings from path requires flutter_colorpicker ^0.4.0.
So, because "ebarge" depends on both flutter_colorpicker ^0.6.0 and card_settings from path, version solving failed.
pub get failed (1; So, because "ebarge" depends on both flutter_colorpicker ^0.6.0 and card_settings from path, version solving failed.)

environment: sdk: ">=2.13.4 <3.0.0"

bobatsar commented 2 years ago

Duplicate of https://github.com/codegrue/flutter_material_pickers/issues/36 We have to wait until an updated version will be published or use my workaround or use the master branch of this packege as described here https://github.com/codegrue/flutter_material_pickers/pull/37

codegrue commented 2 years ago

3.1.2 deployed which should fix this issue