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

outdated

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.1.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';
30
likes
40
pub points
92%
popularity

Publisher

verified publishergskinner.com

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

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on rnd