Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_random_choice

Select a random element from any iterable, optionally using weights.

pub.devRemove
random_user_agents

Generate random User-Agent strings for Dart/Flutter apps

pub.devRemove
ScoresHealth4672 (best)
Maintenance096 (best)
Quality100100
Popularity18 (best)11
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)5131.3k (best)
Likes15 (best)5
Pub points160 / 160160 / 160
GitHub stars5 (best)2
MaintenanceLatest release0.2.0, 4 years ago1.0.30, 6 days ago (best)
Major versions in 12 months00
Contributors2 (best)1
Publisherkirocodes.devdev.tatakai.top
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Zero external dependencies
  • Null‑safe and works on all Dart platforms
  • Supports weighted selection
  • Easy to use API
  • Supports custom filtering
  • Regularly updated data source
  • No external dependencies
Weaknesses
  • Uses dart:math random, not suitable for security‑critical use
  • No async or stream support
  • Limited to simple weight lists
  • Only generates strings, no HTTP integration
  • No built‑in caching or persistence
  • No support for platform‑specific features
WarningsNoneNone
dart_random_choice vs random_user_agents: which Flutter package should you use? | pubscout