fluttercommunity / flutter_blurhash

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido
https://pub.dev/packages/flutter_blurhash
MIT License
513 stars 65 forks source link

Flutter web canvaskit crash in flutter master 2.6.0 version #32

Closed skypu3 closed 2 years ago

skypu3 commented 2 years ago

When read blur hash widget, there is error as below: ════════ Exception caught by scheduler library ═════════════════════════════════ The following assertion was thrown during a scheduler callback: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/canvaskit/skia_object_cache.dart:248:12 !browserSupportsFinalizationRegistry is not true

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 2.6.0-6.0.pre.146, on macOS 11.0.1 20B29 darwin-x64, locale zh-Hant-TW) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 12.5.1) [✓] Chrome - develop for the web [✓] Android Studio (version 3.6) [✓] VS Code (version 1.60.1) [✓] Connected device (1 available)

skypu3 commented 2 years ago

Any updated, does anyone have same issue like me ?

Solido commented 2 years ago

Hi, Decoding is ok with the last version. Thx!