tekartik / midi.dart

Library for manipulating and sequencing Midi files, tracks, events
BSD 2-Clause "Simplified" License
34 stars 6 forks source link

Null Safety? #20

Closed chipweinberger closed 2 years ago

chipweinberger commented 2 years ago
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:tekartik_midi
 - package:tekartik_common_utils

For solutions, see https://dart.dev/go/unsound-null-safety

Thanks for this library! It looks well coded! =)

chipweinberger commented 2 years ago

version: 0.3.4

Ah, looks like I downloaded the wrong version somwhow.

I just did this

  tekartik_midi:
    git:
      url: https://github.com/tekartik/midi.dart
      ref: dart2

like the readme specifies.

alextekartik commented 2 years ago

As of today you should use the dart2_3 branch - Note about versioning.:

  tekartik_midi:
    git:
      url: https://github.com/tekartik/midi.dart
      ref: dart2_3
chipweinberger commented 2 years ago

Yes that fixed it =)