casino_plus 0.1.3 copy "casino_plus: ^0.1.3" to clipboard
casino_plus: ^0.1.3 copied to clipboard

A easy way to add casino games into your application. We provide the user‐friendly APIs.

example/main.dart

import 'package:flutter/material.dart';
import 'package:casino_plus/casino_plus.dart';

void main() {
  final app = MyApp();
  runApp(app);
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    const myCard = PlayingCard.spade1;
    debugPrint('${myCard.suit}');
    debugPrint('${myCard.number}');
    const myImage = PlayingCardImage(myCard);
    const center = Center(child: myImage);
    const scaffold = Scaffold(body: center);
    const app = MaterialApp(home: scaffold);
    return app;
  }
}
0
likes
130
points
21
downloads

Publisher

verified publishercasinoplus.rbdog.biz

Weekly Downloads

A easy way to add casino games into your application. We provide the user‐friendly APIs.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, flutter_hooks, flutter_riverpod, freezed_annotation, hooks_riverpod, http, http_parser, intl, json_annotation, riverpod, uuid

More

Packages that depend on casino_plus