ID:ccpla-6ftoof
When I run the test mode, the following image is displayed, and the test mode verification screen does not appear.
It seems that the blur feature I am using in FlutterFlow, flutter_blurhash version 0.7.0, is causing an error.
The error message is:
"Type ‘DecoderCallback’ not found."
Could you please help me resolve this issue?
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
92 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated
for more information.
Launching lib/main.dart on Web Server in debug mode…
Waiting for connection from debug service on Web Server…
/root/.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: Type ‘DecoderCallback’ not found.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: Type ‘DecoderCallback’ not found.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: ‘DecoderCallback’ isn’t a type.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: ‘DecoderCallback’ isn’t a type.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
Unhandled exception:
Unsupported operation: Unsupported invalid type InvalidType() (InvalidType). Encountered while compiling file:///root/.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart, which contains the type: FunctionType(ImageStreamCompleter Function(BlurHashImage, )).
#0 ProgramCompiler._typeCompilationError (package:dev_compiler/src/kernel/compiler.dart:3236)
#1 ProgramCompiler._emitType (package:dev_compiler/src/kernel/compiler.dart:3197)
#2 ProgramCompiler._emitClassSignature (package:dev_compiler/src/kernel/compiler.dart:1570)
#3 ProgramCompiler._emitClassDeclaration (package:dev_compiler/src/kernel/compiler.dart:962)
#4 ProgramCompiler._emitClass (package:dev_compiler/src/kernel/compiler.dart:819)
#5 List.forEach (dart:core-patch/growable_array.dart:416)
#6 ProgramCompiler._emitLibrary (package:dev_compiler/src/kernel/compiler.dart:757)
#7 List.forEach (dart:core-patch/growable_array.dart:416)
#8 ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:486)
#9 IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:223)
the Dart compiler exited unexpectedly.
Waiting for connection from debug service on Web Server… 59.6s
Failed to compile application.