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

discontinued
outdated

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 = SampleParentApp();
  runApp(app);
}

class SampleParentApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // Just show a page.
    final gamePage = GameOfflinePage(
      gameId: GameId.cakepoker,
      onGamePageClose: () => debugPrint('please pop page manually'),
    );
    // put the page anywhere in your app
    return MaterialApp(
      home: gamePage,
    );
  }
}