I am using Linux Ubuntu 18.04.1 LTS. I am creating a new Flutter project through git bash or terminal or from Visual Studio Code directly but gets an error which says:
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org
In Flutter Project's pubspec.yaml file I removed the line "cupertino_icons: ^0.1.2" in an attempt to resolve the issue but gets the same error on another package:
Got TLS error trying to find package vector_math at https://pub.dartlang.org
I've googled alot but couldn't find the right solution. Please do tell me the main cause of this issue and how to solve it?