apiverve_diceroller 1.2.3
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_dicerollerWith Flutter:
$ flutter pub add apiverve_dicerollerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_diceroller: ^1.2.3Alternatively, 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';