What is meant by 'Sort pub dependencies'?
sort_pub_dependencies
is a lint that comes from the Dart linter: https://dart-lang.github.io/linter/lints/sort_pub_dependencies.html
The lint is activated in the analysis_options.yaml
file in your project.
linter: rules: - sort_pub_dependencies
Basically, it is telling you to sort the name of the dependencies alphabetically in the pubspec.yaml
dependencies: markdown: archive: # put archive before markdown
You can remove the line from analysis_options.yaml
if you don't want to enforce this rule.