rand 3.1.0 copy "rand: ^3.1.0" to clipboard
rand: ^3.1.0 copied to clipboard

Powerful random data generator for Dart. Generate numbers, text, names, passwords, colors, dates, and more. Perfect for testing, mocking, and games.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rand

With Flutter:

 $ flutter pub add rand

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  rand: ^3.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:rand/rand.dart';
4
likes
150
points
210
downloads

Publisher

verified publishermehmetesen.com

Weekly Downloads

Powerful random data generator for Dart. Generate numbers, text, names, passwords, colors, dates, and more. Perfect for testing, mocking, and games.

Homepage
Repository (GitHub)
View/report issues

Topics

#random #testing #mock #faker #generator

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on rand