Dart Analyze

Dart Analyze

Community Analyzer

Use secure urls in pubspec.yaml DRT-W1038

Anti-pattern
Major

DO Use secure urls in pubspec.yaml.

Use https instead of http or git:.

BAD:

repository: http://github.com/dart-lang/example
git:
  url: git://github.com/dart-lang/example/example.git

GOOD:

repository: https://github.com/dart-lang/example