dart pub upgrade

Upgrade the current package's dependencies to latest versions

Options

NameDescription
-h, --helpPrint this usage information
--offlineUse cached packages instead of accessing the network
--no-offlineDo not use cached packages instead of accessing the network
-n, --dry-runReport what dependencies would change but don't change any
--precompilePrecompile executables in immediate dependencies
--no-precompileDo not precompile executables in immediate dependencies
--null-safetyUpgrade constraints in pubspec.yaml to null-safety versions
--major-versionsUpgrades packages to their latest resolvable versions, and updates pubspec.yaml