overflow
overflow copied to clipboard
A bit of an error under Flutter 1.9 HotFix 2
Greetings,
I think this is a great foundation, I have the same problem scroll around a picture and touch it and get a description.
I get this error, I downloaded it, and just opened it in VSCode, and pressed Debug on a MacOS Xcode 10.1 and other flutter apps working today.
{
"resource": "/Users/user/Documents/GitHub/overflow/lib/main.dart",
"owner": "dart",
"code": "argument_type_not_assignable",
"severity": 8,
"message": "The argument type 'Null Function(dynamic, dynamic)' can't be assigned to the parameter type 'ImageStreamListener'.",
"source": "dart",
"startLineNumber": 73,
"startColumn": 24,
"endLineNumber": 73,
"endColumn": 153,
"tags": []
}
I would like to use it in a production app...
Thoughts?
@jamiethain
void _resolveImageProvider() { ImageStream stream = _imageProvider.resolve(createLocalImageConfiguration(context)); var listener = ((info, _) { _image = info.image; _resolved = true; _updateActualImageDimensions(); setState(() {}); }); var stearmListener = ImageStreamListener(listener); stream.addListener(stearmListener); }
Thanks I will try that one.