Search packages, repositories and app categories

GitHub repositoryf3ath/dart-version-manipulation

dart-version-manipulation

Extension on pub_semver

dart-version-manipulation project cover
Stars
2
Forks
1
Last push (UTC)
Jun 20, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Extension on pub_semver

Setting a version part

print(Version.parse('0.1.3+foo.1').change(major: 2, build: ['moo'])); // 2.1.3+moo

Bumping the build part

print(Version.parse('1.2.3').nextBuild); // 1.2.3+1
print(Version.parse('1.2.3+foo42').nextBuild); // 1.2.3+foo42.1
print(Version.parse('1.2.3+foo.1.2.3.bar').nextBuild); // 1.2.3+foo.2.0.0.bar
Alexey GitHub avatar
GitHub author

Alexey ↗

If I had ever learnt, I should have been a great proficient.

Salesforce Silicon Valley, CA
LanguagesDart

Categories

Packages published by this repository

Dependencies used

Dependency list 5 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗