retroportalstudio / focused_menu

This is a repository for Flutter Focused Menu, an easy to implement package for adding Focused Long Press Menu to Flutter Applications
MIT License
196 stars 97 forks source link

Expected a value of type 'SkDeletable', but got one of type 'Null' #14

Open jrheisler opened 3 years ago

jrheisler commented 3 years ago

With the update to Flutter 1.26.0-17.8.pre on beta channel with flutter web, on long press you get the following error:

======== Exception caught by widgets library ======================================================= The following TypeErrorImpl was thrown building FocusedMenuDetails(dirty, dependencies: [MediaQuery]): Expected a value of type 'SkDeletable', but got one of type 'Null'

The relevant error-causing widget was: GetMaterialApp file:///C:/source/AndroidStudioProjects/orpheus/lib/main.dart:42:12 When the exception was thrown, this was the stack: C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 236:49 throw C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 84:3 castError C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart 266:34 as C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/skia_object_cache.dart 146:55 new C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/image_filter.dart 26:3 __ ...

henriquezanfa commented 1 year ago

Is this error still happening with Flutter 2.0 or above?