Skip to main content

apiverve_diceroller 1.2.3 copy "apiverve_diceroller: ^1.2.3" to clipboard
apiverve_diceroller: ^1.2.3 copied to clipboard

Dice Roller is a dice API that simulates RPG dice rolls using standard notation like 3d6 or 2d20 with optional modifiers. It outputs the individual die outcomes, die count, and the sum of all rolls.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add apiverve_diceroller

With Flutter:

 $ flutter pub add apiverve_diceroller

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

dependencies:
  apiverve_diceroller: ^1.2.3

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:apiverve_diceroller/apiverve_diceroller.dart';
0
likes
120
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dice Roller is a dice API that simulates RPG dice rolls using standard notation like 3d6 or 2d20 with optional modifiers. It outputs the individual die outcomes, die count, and the sum of all rolls.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_diceroller