bitsdojo / bitsdojo_window

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.
http://www.youtube.com/watch?v=bee2AHQpGK4
MIT License
815 stars 229 forks source link

Can't install bitsdojo #234

Closed BikeBr0 closed 11 months ago

BikeBr0 commented 1 year ago

When I run the command: flutter pub add bitsdojo_window

I get the following output:

The current Dart SDK version is 3.1.4.

Because bitsdojo_window <0.1.0 doesn't support null safety and bitsdojo_window >=0.1.2 <0.1.3 depends on bitsdojo_window_windows ^0.1.2,      
  bitsdojo_window <0.1.0-∞ or >=0.1.2 <0.1.3-∞ requires bitsdojo_window_windows ^0.1.2.
And because bitsdojo_window >=0.1.0 <0.1.2 depends on bitsdojo_window_windows ^0.1.0 and bitsdojo_window_windows >=0.1.0 <0.1.2 depends on    
  win32 ^2.0.0, bitsdojo_window <0.1.3 requires win32 ^2.0.0 or bitsdojo_window_windows ^0.1.2.
And because bitsdojo_window >=0.1.4 <0.1.5 depends on bitsdojo_window_windows ^0.1.4 and bitsdojo_window >=0.1.3 <0.1.4 depends on
  bitsdojo_window_windows ^0.1.3, bitsdojo_window <0.1.5 requires win32 ^2.0.0 or bitsdojo_window_windows ^0.1.2.
And because bitsdojo_window_windows >=0.1.2 <0.1.4 depends on win32 ^2.5.2 and bitsdojo_window >=0.1.5 depends on bitsdojo_window_windows     
  ^0.1.5, every version of bitsdojo_window requires win32 ^2.0.0 or bitsdojo_window_windows ^0.1.4.
And because bitsdojo_window_windows >=0.1.4 depends on win32 ^3.0.0 and win_ble >=1.0.0 depends on win32 ^5.0.6, win_ble >=1.0.0 is
  incompatible with bitsdojo_window.
So, because <APP_NAME> depends on both win_ble ^1.0.1 and bitsdojo_window any, version solving failed.

The lower bound of "sdk: '>=2.7.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety

Any suggestions on how to resolve this problem?

bitsdojo commented 1 year ago

Thanks for reporting it. Working on a fix.

bitsdojo commented 11 months ago

Please try updating to the latest bitsdojo_window version.

BikeBr0 commented 10 months ago

So far so good. I can install bitsdojo successfully. Will need more time to integrate it into my app though...