rnd 0.2.0 copy "rnd: ^0.2.0" to clipboard
rnd: ^0.2.0 copied to clipboard

Extension methods & helpers for Random, and a globally accessible instance. Ex. rnd(10), rnd.getItem(list), rnd.getBit(0.8).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add rnd

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

dependencies:
  rnd: ^0.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:rnd/rnd.dart';
31
likes
160
points
8.89k
downloads

Publisher

verified publishergskinner.com

Weekly Downloads

Extension methods & helpers for Random, and a globally accessible instance. Ex. rnd(10), rnd.getItem(list), rnd.getBit(0.8).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on rnd