shamblett / mqtt_client

A server and browser based MQTT client for dart
Other
552 stars 179 forks source link

mqtt_client doesn't support null safety #472

Closed EvilWatermelon closed 1 year ago

EvilWatermelon commented 1 year ago

Getting the following error:

The current Dart SDK version is 3.0.0.

Because vulnerability_scanner depends on mqtt_client >=1.1.0 <9.0.0 which
  doesn't support null safety, version solving failed.

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

Why does flutter give me this error? If I understand it right null safety is enabled by default.

EvilWatermelon commented 1 year ago

Whoops wrong version