Check a pub.dev package for updates
check_packageLooks up a Dart/Flutter package on pub.dev and reports its latest published version. If currentVersion is given, also reports whether an update is available. Changelog HTML for versions newer than currentVersion is left out unless changelog is set to true - if one exists and was left out, the result says so (changelogAvailable: true), so call again with changelog: true to get it. No account needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changelog | No | Include changelog HTML in the response. Defaults to false; only set this once you actually need the changelog text, since it can be large. | |
| packageName | Yes | The pub.dev package name, e.g. "http" or "provider" | |
| currentVersion | No | The version currently installed, e.g. "1.2.3". Omit to just fetch the latest version. |