how to create a package in flutter and publish it code example
Example: flutter publish package command
flutter pub publish --dry-run /// run this before publishing the package
flutter pub publish /// when ready to publish
flutter pub publish --dry-run /// run this before publishing the package
flutter pub publish /// when ready to publish