andrey-ushakov / esc_pos_printer

ESC/POS (thermal, receipt) printing for Flutter & Dart
BSD 3-Clause "New" or "Revised" License
346 stars 298 forks source link

The lower bound of "sdk: '>=2.7.0 <3.0.0'" must be 2.12.0 or higher to enable null safety. #190

Open victorcode1 opened 10 months ago

victorcode1 commented 10 months ago

The current Dart SDK version is 3.1.4.

Because device_info_plus >=9.0.1 depends on win32 >=4.0.0 <6.0.0 and pos_printer_manager

=0.0.5 depends on win32 ^2.3.1, device_info_plus >=9.0.1 is incompatible with pos_printer_manager >=0.0.5. And because pos_printer_manager <0.0.5 doesn't support null safety, device_info_plus >=9.0.1 is incompatible with pos_printer_manager. So, because invu_supply depends on both device_info_plus 9.1.0 and pos_printer_manager any, version solving failed.

The lower bound of "sdk: '>=2.7.0 <3.0.0'" mus