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

how to solve this problem #196

Open Devloper153 opened 2 months ago

Devloper153 commented 2 months ago

The current Dart SDK version is 3.4.3.

Because universal_ui 0.0.8 doesn't support null safety and no versions of universal_ui match >0.0.8 <0.1.0, universal_ui ^0.0.8 is forbidden. So, because flutter_restaurant depends on universal_ui ^0.0.8, 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