pubspec_dependency_sorter 1.0.5 copy "pubspec_dependency_sorter: ^1.0.5" to clipboard
pubspec_dependency_sorter: ^1.0.5 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 or dart sdk then depend on the package.

dev_dependencies:
  pubspec_dependency_sorter: ^1.0.4
copied to clipboard

Usage #

To use the package run in your flutter/dart app root directory

   dart run pubspec_dependency_sorter
copied to clipboard

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
copied to clipboard

sample output #

dependency_sorter sample output

Additional information #

Feel free to add features,improvemets and fix bugs then create a PR.

39
likes
120
points
14.7k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.06 - 2025.04.20

helps sort flutter,dart pubspec.yaml dependecies alphabetically.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, logger, pubspec, yaml_writer

More

Packages that depend on pubspec_dependency_sorter