skip to Main Content

Undefined name '_image'. Try correcting the name to one that is defined, or defining the name – Flutter

Please help. I'm trying to display the photo captured in 'Generated1Group1Widget1.dart' to 'GeneratedResultsWidget.dart'. However, 'main.dart' is having some errors. GeneratedGroup1Widget1.dart class GeneratedGroup1Widget1 extends StatefulWidget { @override _GeneratedGroup1Widget1State createState() => _GeneratedGroup1Widget1State(); } class _GeneratedGroup1Widget1State extends State<GeneratedGroup1Widget1> { XFile? _image; Future _pickImage()…

VIEW QUESTION

404 Error Handling in Cached Networked Images – Flutter

So i wanted to create a card with an image. I fetched the data and stored it in my news map with key urlToImage as my image url. Its working all fine but when a url such as https://i-invdn-com.investing.com/news/https://i-invdn-com.investing.com/akapi-images/800x450/59149e84fbd2b771f1b6adea95d99dd6_w_800_h_450.jpg where…

VIEW QUESTION
Back To Top
Search