basket_ball_game 1.0.1 copy "basket_ball_game: ^1.0.1" to clipboard
basket_ball_game: ^1.0.1 copied to clipboard

A customizable basketball shooting game widget built with Flame. Embed a full 3-minute basketball arcade game anywhere in your Flutter app.

example/lib/main.dart

import 'package:basket_ball_game/basket_ball_game.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Basketball Game Example',
      home: const SafeArea(
        top: true,
        child: BasketballGameWidget(),
      ),
    );
  }
}
1
likes
155
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable basketball shooting game widget built with Flame. Embed a full 3-minute basketball arcade game anywhere in your Flutter app.

Homepage

License

MIT (license)

Dependencies

cupertino_icons, flame, flutter

More

Packages that depend on basket_ball_game