Skip to content

Conversation

@Zuckjet
Copy link

@Zuckjet Zuckjet commented Oct 28, 2024

In dart 3.4 or higher version, UnmodifiableUint8ListView is deprecated, that is a breaking change. If we use a newer version flutter(that use dart 3.4 or above ), use this pacakge will throw errors:

../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
      UnmodifiableUint8ListView(Uint8List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:7:7: Error: Method not found: 'UnmodifiableUint32ListView'.
      UnmodifiableUint32ListView(Uint32List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'.
      UnmodifiableInt32ListView(Int32List(0));
      ^^^^^^^^^^^^^^^^^^^^^^^^^

relevant topics:
dart-lang/sdk#53785
jonataslaw/get_cli#263 (comment)

@saropa
Copy link

saropa commented Dec 12, 2024

This change would be very helpful, but I note we are now at v4.01!

https://pub.dev/packages/archive/changelog

archive: ^4.0.1

@Shvet
Copy link

Shvet commented Dec 16, 2024

If there any possiblity of updating archive package? I just updated flutter package and now i can not work with lottie. I have used dependecy override for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants