Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestring_scanner

A class for parsing strings using a sequence of patterns.

pub.devRemove
version

Parses and compares semantic version numbers in compliance with http://semver.org/

pub.devRemove
ScoresHealth81 (best)50
Maintenance53 (best)15
Quality96 (best)91
Popularity94 (best)90
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)14M (best)1.3M
Likes222276 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars123 (best)47
MaintenanceLatest release1.4.1, 2 years ago (best)3.0.2, 4 years ago
Major versions in 12 months00
Contributors100+ (best)2
Publishertools.dart.devcomstar.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simplifies sequential string parsing with patterns.
  • Provides helpful methods for expectations and matching errors.
  • Compliant with the Semantic Versioning 2.0.0 specification
  • Supports pre-release and build validation
  • Simple and straightforward API with standard comparison operators
Weaknesses
  • Requires manual imperative parsing logic for complex grammars.
  • Diverts from pub_semver which may be expected in some pub-related tooling
Warnings
  • Quiet but busy
None
string_scanner vs version: which Flutter package should you use? | pubscout