Got the following result when I ran flutter doctor.
Network resources
X A cryptographic error occurred while checking "https://pub.dev/": Handshake error in client
You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.
X A cryptographic error occurred while checking "https://storage.googleapis.com/": Handshake error in client You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware
installed on your computer.
X A cryptographic error occurred while checking "https://maven.google.com/": Handshake error in client You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.
When I tried to run flutter doctor (as I was getting some errors loading network image in an app) I ran into some issues in network resources part .
2
Answers
This is the only valid thing I found.
Quoting from the link above:
I would try also a complete scan for malwares in your computer.
Check the link, scan your computer and let me know if this solved your problem.
add this in main.dart