You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quando tento fazer uso do plugin conforme descrito no título, a compilação do app falha, exibindo a seguinte mensagem:
Compiler message:
../../../Programas/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_pdf_viewer-1.0.6/lib/src/page.dart:33:26: Error: The argument type 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener'.
'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('../../../Programas/flutter/packages/flutter/lib/src/painting/image_stream.dart').
resolver.addListener((imgInfo, alreadyPainted) {
^
Exception: Errors during snapshot creation: null
#0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart:182:7)
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugX86'.
Process 'command '/Users/reni/Downloads/Programas/flutter/bin/flutter'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Quando tento fazer uso do plugin conforme descrito no título, a compilação do app falha, exibindo a seguinte mensagem:
Compiler message:
../../../Programas/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_pdf_viewer-1.0.6/lib/src/page.dart:33:26: Error: The argument type 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener'.
resolver.addListener((imgInfo, alreadyPainted) {
^
Exception: Errors during snapshot creation: null
#0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart:182:7)
Failed to build bundle.
FAILURE: Build failed with an exception.
Where:
Script '/Users/reni/Downloads/Programas/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 782
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugX86'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 16s
Finished with error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: