Home > Net >  how to customize pub.dev package and use it?
how to customize pub.dev package and use it?

Time:05-12

We want to change and edit a package for flutter or dart . How should we do this and use this package on own projects? I'm planning to fork it from the GitHub source. What do you think should be done next?

CodePudding user response:

dependencies:
  plugin1:
    git:
      url: git://github.com/flutter/plugin1.git

See Dependencies on unpublished packages for details.

CodePudding user response:

What I did for multiple projects was copying the codes from the package into my project directory and then edit it according to my need, removing all unnecessary codes if it is not needed in my application.

  • Related