chance 0.1.2 copy "chance: ^0.1.2" to clipboard
chance: ^0.1.2 copied to clipboard

outdated

Random generator for Dart

chance #

A random generator for Dart. Inspired by chancejs.

Currently has very limited capabilities. Feel free to contribute.

Usage #

import 'package:chance/chance.dart';

final chance = new Chance();

int numberA = chance.integer(min: 3, max: 12);

double numberB = chance.floating(min: 3.0, max: 12.0);

License #

This project is licensed under the MIT License - see the LICENSE file for details

10
likes
0
points
73
downloads

Publisher

verified publishervimuser.com

Weekly Downloads

Random generator for Dart

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on chance