pubspec_dependency_sorter 0.0.1 pubspec_dependency_sorter: ^0.0.1 copied to clipboard
helps sort flutter,dart pubspec.yaml dependecies alphabetically.
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
Features #
- sort dependencies
- prevent dependecy conflicts
- clean up the pubspec.yaml file
Getting started #
Install flutter,dart sdk. Add pubsec_dependecy_sorter to your pubsec.yaml
Usage #
To use the package run in your flutter/dart app root directory
flutter pub 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.
flutter pub run pubspec_dependency_sorter PATH-TO-YOUR-DIRECTORY
sample output #
Additional information #
Feel free to add features,improvemets and fix bugs then create a PR.