Closed SittiphanSittisak closed 3 months ago
Can you make a PR to update this?
Hi, I don't have experience with this.
This is my error when importing screen_recorder with image packages.
Because every version of screen_recorder depends on image ^3.0.2 and flutter_test_recording depends on image ^4.0.17, screen_recorder is forbidden.
So, because flutter_test_recording depends on screen_recorder ^0.2.0, version solving failed.
PS. Many packages are using the image
package with the new version. So, It will show this error with many packages.
Because no versions of flutter_meedu_videoplayer match >4.2.25 <5.0.0 and flutter_meedu_videoplayer >=4.2.23 <4.2.25 depends on video_player_media_kit ^0.0.23, flutter_meedu_videoplayer >=4.2.23 <4.2.25-∞ or >4.2.25 <5.0.0 requires video_player_media_kit ^0.0.23.
And because video_player_media_kit >=0.0.23 <0.0.24 depends on media_kit ^1.1.2 and video_player_media_kit >=0.0.24 <0.0.25 depends on media_kit ^1.1.4, flutter_meedu_videoplayer >=4.2.23 <4.2.25-∞ or >4.2.25 <5.0.0 requires media_kit ^1.1.2 or video_player_media_kit ^0.0.25.
And because media_kit >=1.1.0 depends on image ^4.0.17 and flutter_meedu_videoplayer 4.2.25 depends on video_player_media_kit ^0.0.25, flutter_meedu_videoplayer ^4.2.23 requires video_player_media_kit ^0.0.25 or image ^4.0.17.
And because no versions of video_player_media_kit match >0.0.25 <0.1.0 and video_player_media_kit 0.0.25 depends on media_kit 1.1.2+1, flutter_meedu_videoplayer ^4.2.23 requires image ^4.0.17 or media_kit 1.1.2+1.
And because media_kit 1.1.2+1 depends on image ^4.0.17 and every version of screen_recorder depends on image ^3.0.2, screen_recorder is incompatible with flutter_meedu_videoplayer ^4.2.23.
So, because flutter_test_recording depends on both flutter_meedu_videoplayer ^4.2.24 and screen_recorder ^0.2.0, version solving failed.
I think downgrading the version of many packages is not the answer.
I must use the latest version of the image package. Can you update this package to use the image package with the newest version?