ajilo297 / Flutter-Dotted-Border

A Flutter package to easily add dashed borders around widgets
https://pub.dev/packages/dotted_border
MIT License
295 stars 63 forks source link

when update to `2.0.0+2`,it will version solving failed with `flutter_html` #18

Closed PDieE closed 11 months ago

PDieE commented 2 years ago

Describe the bug when update to 2.0.0+2,it will version solving failed with flutter_html

To Reproduce Steps to reproduce the behavior:

dependencies:
  flutter_html: ^2.1.2
  dotted_border: ^2.0.0+2

Expected behavior can use dotted_border 2.0.0+2+ and flutter_html at the same time

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Running "flutter pub get" in xilaijian_app...                   
Because flutter_svg >=0.23.0 <1.0.0 depends on path_drawing ^0.5.1 and flutter_svg >=0.21.0 <0.23.0 depends on path_drawing ^0.5.0, flutter_svg >=0.21.0 <1.0.0 requires path_drawing ^0.5.0.
And because dotted_border >=2.0.0+2 depends on path_drawing ^1.0.0 and flutter_html >=2.0.0-nullsafety.1 <3.0.0-alpha.1 depends on flutter_svg >=0.22.0 <1.0.0, dotted_border >=2.0.0+2 is incompatible with flutter_html >=2.0.0-nullsafety.1 <3.0.0-alpha.1.
So, because xilaijian_app depends on both flutter_html ^2.1.2 and dotted_border ^2.0.0+2, version solving failed.
pub get failed (1; So, because xilaijian_app depends on both flutter_html ^2.1.2 and dotted_border ^2.0.0+2, version solving failed.)
PDieE commented 2 years ago

but maybe flutter_html 3.0.0 will fix this?

yossefEl commented 2 years ago

@hxywuya Indeed, the pre-release flutter_html: ^3.0.0-alpha.5 solved the issue. Thank you!

maerlynflagg commented 1 year ago

But after 10 months no new release? will 3.0.0 ever be released?

ajilo297 commented 11 months ago

Apologies for taking so long to respond.

Upgrading your dependency to flutter_html: 3.0.0-beta.2 seems to solve the problem