../../.pub-cache/hosted/pub.dartlang.org/flutter_plugin_pdf_viewer-1.0.4/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' ('../../flutter_sdk/flutter/packages/flutter/lib/src/painting/image_stream.dart').
resolver.addListener((imgInfo, alreadyPainted) {
../../.pub-cache/hosted/pub.dartlang.org/flutter_plugin_pdf_viewer-1.0.4/lib/src/page.dart:33:26: Error: The argument type 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener'.