rand 2.0.2+2 copy "rand: ^2.0.2+2" to clipboard
rand: ^2.0.2+2 copied to clipboard

Advanced, easy-to-use random generator for Dart with simple syntax. Ideal for efficient randomness in code.

2.0.2+2 #

  • meta dependency uses version range

2.0.2+1 #

  • max int fix for web

2.0.2 #

  • regression boolean() function

2.0.1 #

  • nullable() default nullChance value fix
// BEFORE
nullable<T>(T value, [double nullChance = 50])
// AFTER
nullable<T>(T value, [double nullChance = .5])

2.0.0 #

  • BREAKING CHANGE: documentId and uid removed, just use id function, mayBeNull renamed as nullable
  • Added functions: alias, firstName, lastName, city, latitude, longitude
  • Improved in-line documentation

1.0.3 #

  • Added seed support for math.Random field

1.0.2 #

  • Tweaks and fixes for lorem functions

1.0.1 #

  • Lorem functions added

1.0.0 #

  • Initial release
3
likes
140
pub points
70%
popularity

Publisher

unverified uploader

Advanced, easy-to-use random generator for Dart with simple syntax. Ideal for efficient randomness in code.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on rand