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
After adding the dependency I started getting this exception..when remove dependency the exception goes off .
Running Gradle task 'assembleDebug'...
../../.pub-cache/hosted/pub.dartlang.org/photo_view-0.1.3/lib/photo_view.dart:237:24: Error: The argument type 'Null
Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('../../Android/Sdk/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('../../Android/Sdk/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.addListener(listener);
^
../../.pub-cache/hosted/pub.dartlang.org/photo_view-0.1.3/lib/photo_view.dart:239:29: Error: The argument type 'Null
Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
- 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart'
('../../Android/Sdk/flutter/packages/flutter/lib/src/painting/image_stream.dart').
- 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart'
('../../Android/Sdk/flutter/packages/flutter/lib/src/painting/image_stream.dart').
stream.removeListener(listener);
I'm running flutter :
Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
• Flutter version 1.22.4 at /home/momy/flutter
• Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
^
The text was updated successfully, but these errors were encountered:
After adding the dependency I started getting this exception..when remove dependency the exception goes off .
I'm running flutter :
Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
• Flutter version 1.22.4 at /home/momy/flutter
• Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
^
The text was updated successfully, but these errors were encountered: