dependencies:
  packageA:
    path: ../packageA/

You can also depend on a package stored in a Git repository.
If the package is located at the root of the repo,
use the following syntax:

    
  dependencies:
    packageA:
      git:
        url: https://github.com/flutter/packageA.git

If the repository is private and you can connect to it using SSH,
depend on the package by using the repo’s SSH url:

    
  dependencies:
    packageA:
      git:
        url: git@github.com:flutter/packageA.git

Pub assumes the package is located in
the root of the Git repository. If that isn’t
the case, specify the location with the path argument.
For example:

    
dependencies:
  packageA:
    git:
      url: https://github.com/flutter/packages.git
      path: packages/packageA