flutter create library 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