flutter create --template=package package_name
- name: flat_banners
- description: A Flutter package for Offers, Promo and Invites banners. Android support Android and Web.
- homepage: https://github.com/om-chauhan/flat_banners
-
run CMD to test run or all terms and condtions meets or not. if yes then
flutter pub publish --dry-run
else check console resolve problems. -
To publish package on Pub.dev run CMD
flutter pub publish
- Initalize Git -
git init
- Message/Commit -
git commit -m "Type Commit/Msg here"
- Add Project to your Repositry
git remote add origin Repositry_URL
- Push Code -
git push -u origin master
In case you stuck anywhere please follows this Repo Flat Banners