Home > Software design >  Flutter: font_awesome_icon pro version give error ? How can i set path of font_awesome cloned repo?
Flutter: font_awesome_icon pro version give error ? How can i set path of font_awesome cloned repo?

Time:11-02

I didn't understand how to give the path of the pro version in the current project

I read the setup from pub.dev but don't know how can I did it.

  1. followed this steps : enter image description here

    facing one error here : zsh: permission denied: ./configurator.sh. while running this ./configurator.sh it will show error.

    1. how to give path of new font repo to my project? ( in pubspec.yaml)

      enter image description here

    here is image where i stored clone repo project enter image description here

    CodePudding user response:

    $ sudo ./configurator.sh --exclude solid
    $ sudo ./configurator.sh --exclude solid,brands
    

    Give the Access to the Path

    CodePudding user response:

    I don't know if you can use the absolute path here. But you can use the relative path to target package here.

    For relative path:

    Add the package somewhere in your project. Usually, all local repositories are stored in new packages folder at the root of the project (where the lib folder is located)

    You'll get something like: ./packages/package_folder

    For absolute path:

    Copy the path to the package folder. You'll get something like Users/username/Desktop/../package_folder

  • Related