Publish the package to pub.dev.
Steps
- Run
flutter pub publish --dry-runand show the output. - If
$ARGUMENTSis "dry-run", stop here. - Otherwise, ask the user to confirm before proceeding.
- On confirmation, run
flutter pub publish --force(non-interactive). - Report success or failure.
Source: QuisApp/flutter_contacts — distributed by TomeVault.