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
username_generator

A Dart library that creates random or seedable usernames for emails and user forms.

pub.devRemove
ScoresHealth4646
Maintenance00
Quality100100
Popularity1822 (best)
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)513 (best)392
Likes1521 (best)
Pub points160 / 160160 / 160
GitHub stars5 (best)2
MaintenanceLatest release0.2.0, 4 years ago (best)1.3.0, 6 years ago
Major versions in 12 months00
Contributors2 (best)1
Publisherkirocodes.devprikeshsavla.com
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
  • Zero dependencies and null‑safe
  • Simple, chainable API
  • Supports prefixes, suffixes, dates, adjectives, and custom separators
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 validation or uniqueness checks
  • No Flutter widgets or UI components
  • Limited to basic username patterns
WarningsNoneNone
dart_random_choice vs username_generator: which Flutter package should you use? | pubscout