I'm just starting to learn Flutter and when trying to add an image with a network image as the source, I encountered this error. I tried to search solution for this but still can't find it. So anyone could enlighten me on what the problem could be ?. Thank you.
Here is the source code
Error: The argument type 'Image' can't be assigned to the parameter type 'ImageProvider<Object>'.
- 'Image' is from 'package:flutter/src/widgets/image.dart' ('/C:/src/Flutter/flutter/packages/flutter/lib/src/widgets/image.dart').
- 'ImageProvider' is from 'package:flutter/src/painting/image_provider.dart' ('/C:/src/Flutter/flutter/packages/flutter/lib/src/painting/image_provider.dart').
- 'Object' is from 'dart:core'. image: Image.network(