playing_cards_lib 0.0.3+1
playing_cards_lib: ^0.0.3+1 copied to clipboard
A library for non ui server side cards logic for standard 52 card decks in your Dart or Flutter app.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add playing_cards_libWith Flutter:
$ flutter pub add playing_cards_libThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
playing_cards_lib: ^0.0.3+1Alternatively, 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:playing_cards_lib/playing_cards_lib.dart';