craps_domain 0.1.0+1 craps_domain: ^0.1.0+1 copied to clipboard
Core Craps Logic - This package contains all of the components of a craps game. It is intended to make generating a craps game easier.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add craps_domain
With Flutter:
$ flutter pub add craps_domain
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
craps_domain: ^0.1.0+1
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:craps_domain/craps_domain.dart';