logo

该视频仅会员有权观看

立即开通课程「Flutter 移动端应用开发实践」权限。

¥
199
/ 年

Dart 管理包裹:升级包

  • To upgrade project dependencies, use the jaras pop upgrade command.
  • Open and edit the dependency version in the pop speak file to 0.16.0.
  • The editor automatically prepares dependencies with darch pop p t.
  • Observe the current package version in pop s back lock, which should be 0.16.0.
  • Modify another dependency version by adding an upward arrow before the version number.
  • To upgrade dependencies, run dt t p p upgrade in the project directory.
  • Specify a particular package for upgrade if required (e.g., i n t2).
  • After upgrading, check the pop speak at a lock to see the new version of the package is 0.16.1, previously 0.16.0.
  • Note that the package n t l is not upgraded to the latest 0.17.0 despite being available.
  • To use the 0.17.0 version, manually adjust the version in pumps bg and check palm speak lock to see the updated version 0.17.0 in use.