Error: Unsupported operation: InternetAddress.lookup Flutter Web

Issue I’m getting internet status in my flutter web app, by implementing the following code in my service: “`import ‘dart:async’; import ‘dart:io’; import ‘package:connectivity_plus/connectivity_plus.dart’; import ‘package:rxdart/rxdart.dart’; enum ConnectionStatus { online, offline, } class CheckInternetConnection { final Connectivity _connectivity = Connectivity();

Continue reading

Flutter image doesn't appear on screen

Issue ════════ Exception caught by image resource service ════════════════════════════ Unable to load asset: cocacola_bottle.jpg. ════════════════════════════════════════════════════════════════════════════════ This is the yaml file: flutter: assets: – assets/ This is the page: class Signup extends StatelessWidget { const Signup({super.key}); @override Widget build(BuildContext context) {

Continue reading