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

Overview

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: ^0.0.1

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

dependency_sorter sample output

Additional information

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

You might also like...

Response Parser makes it easier to parse data and error response from server.

Response Parser makes it easier to parse data and error response from server. Getting started Do you want to write this pretty functions... FutureEit

Nov 5, 2022

A platform similar to iFood that makes it easier for the consumers to find a list of generators with solar plates system available for rent

iEnergy App A platform similar to iFood that makes it easier for the consumers to find a list of generators with solar plates system available for ren

Jun 7, 2022

A collections of packages providing additional functionality for working with bloc

Bloc Extensions A collections of packages providing additional functionality for working with bloc. Index Packages Bloc Hooks Action Blocs Contributin

Apr 19, 2022

A flutter/dart package that allows developer to develop shiSock client for there application.

A flutter/dart package that allows developer to develop shiSock client for there application.

A package which allow developers to develop the shiSock client for the there flutter android app. Using flutter-shiSock developers can develop a chat application very easily. It can also be used in app in which we need real time data flow.

Apr 7, 2022

Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories

meals_app Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories Getting Sta

Nov 29, 2021

A library for creating StreamDeck plugins in Dart.

package:streamdeck A Dart package for building plugins for the Elgato Stream Deck in Dart. Create actions that extend from StreamDeckPluginAction and

Jan 3, 2023

Contactus - a flutter package. The most common functionality added in any commercial app is the Developer's contact details

Contactus - a flutter package. The most common functionality added in any commercial app is the Developer's contact details

Contact Us The most common functionality added in any commercial app is the Developer's contact details!! So this package helps the developers to simp

Aug 4, 2022

A dart package for many helper methods fitting common situations

Basic Utils A dart package for many helper methods fitting different situations. Table of Contents Basic Utils Table of Contents Preamble Install pubs

Jan 5, 2023
Comments
  • Sorting removes all comments

    Sorting removes all comments

    Hi, I love the idea of this package!

    Our pubspec.yaml is highly documented, so removing all the comments is not an option.

    I am unsure whether this is a warning to other devs or a feature request.

    Thanks,

    opened by saropa 0
  • doesn't sort dependencies with keys

    doesn't sort dependencies with keys

    Thanks for making this package! I keep getting the sort_pub_dependency error after running flutter pub run pubspec_dependency_sorter

    What I expect:

    dev_dependencies: 
      build_runner: ^2.2.1
      fake_cloud_firestore: ^1.3.1
      flutter_test: 
        sdk: flutter
      freezed: ^2.1.0+1
      json_serializable: ^6.4.1
      mocktail: ^0.3.0
      pubspec_dependency_sorter: ^0.0.2
      test: ^1.14.4
      very_good_analysis: ^3.1.0
    

    What I get:

    Another note: It would be great if the package didn't remove inline comments, so I can keep useful documentation in the file.

    opened by AdrienLemaire 1
Owner
DANCHE
Physicist, || ` like literature and art, code is a form of expressive speech.`
DANCHE
Vineet Kalghatgi 32 May 13, 2022
LakhanKumawat แต–โบ 12 Dec 6, 2022
Testing Teams, Projects and general collaboration on Github

collaboration_test Testing Teams, Projects and general collaboration on Github Getting Started This project is a starting point for a Flutter applicat

null 1 Dec 3, 2021
Packup - Flutter app for managing delivered packages in office

Packup Mobile app for Android and iOS with web admin panel, for managing package

Jan Lewandowski 0 Jan 22, 2022
Money_manager - This app helps you with managing Income and Expense

Expense App This app helps you with managing Income and Expense. It is coded in flutter, dart hive. TBH I want to code the same app in Flutter , React

Prince 10 Nov 14, 2022
EZ Flutter is a collection of widgets, packages and many more usefull things, mixed up in little framework.

(Alpha) EZ Flutter is a collection of widgets, packages and many more usefull things, mixed up in a little framework. The aim is to make standard feat

null 65 Nov 5, 2022
A draggable Flutter widget that makes implementing a Sliding up and fully-stretchable much easier.

Draggable Home A draggable Flutter widget that makes implementing a Sliding up and fully-stretchable much easier! Based on the Scaffold and Sliver. Us

Devs On Flutter 106 Dec 12, 2022
A set of Flutter widgets that makes grouping Checkboxes and Radio Buttons much easier!

grouped_buttons A set of Flutter widgets that makes grouping Checkboxes and Radio Buttons much easier! Installing Add the following to your pubspec.ya

Akshath Jain 102 Dec 28, 2022
Nebula makes your Flutter development journey easier by providing helper widgets, utilities and abstractions.

Nebula makes your Flutter development journey easier by providing helper widgets, utilities and abstractions.

Aldrin's Art Factory 1 Apr 21, 2022
๐Ÿ’™๐Ÿ”ฅ FlutterFire commons repository, makes FlutterFire app development faster, easier, and more fun!

???? FlutterFire commons repository, makes FlutterFire app development faster, easier, and more fun!

Kosuke Saigusa 18 Dec 1, 2022