pubspec_dependency_sorter
helps sort flutter,dart pubspec.yaml dependecies alphabetically.
This package helps developer to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams
English project snapshot. Visit GitHub for the latest content.
Package helps to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams
Install flutter or dart sdk then depend on the package.
dev_dependencies:
pubspec_dependency_sorter: ^1.0.4
To use the package run in your flutter/dart app root directory
dart run pubspec_dependency_sorter
if your pubspec.yam is located somewhere else use the following command by passing the path of the directory where the pubspec.yaml file is located.
dart run pubspec_dependency_sorter PATH-TO-YOUR-DIRECTORY
Feel free to add features,improvemets and fix bugs then create a PR.
Dependency list 6 items
^2.0.1^2.3.0{"sdk":"flutter"}^2.0.0^2.0.0{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗