Search packages, repositories and app categories

Package detailsv3.0.2

version

Provides a simple class for parsing and comparing semantic versions as defined by http://semver.org/

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.2M
Likes
276
Pub points
140

Install package

flutter pub add version

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The version package provides a simple and efficient class for parsing, comparing, and managing semantic versions according to the SemVer specification. It enables developers to easily handle version strings, perform comparisons (e.g., greater than, equal to), and check version compatibility in Dart applications. Ideal for managing app versions, dependency resolution, or release tracking across platforms.

Use cases

  • Managing app version numbers
  • Comparing software version compatibility
  • Tracking release milestones
  • Validating dependency versions
  • Handling version updates in CI/CD pipelines

Key features

  • Semantic version parsing
  • Version comparison utilities
  • Support for pre-release and build metadata
  • Immutable version objects
  • Easy integration with pub packages

Suitable for

  • Apps requiring version management
  • Library authors tracking dependencies
  • CI/CD systems handling releases
  • Tools that compare version strings

Considerations

  • Does not support non-SemVer formats
  • Limited to basic version operations
  • No built-in version incrementing methods
  • Requires manual handling of version bumping logic
  • Not designed for complex version ranges

Categories

Projects using this package