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

A pygame inspired library.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartgame

With Flutter:

 $ flutter pub add dartgame

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dartgame: ^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:dartgame/dartgame.dart';
2
likes
135
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

A pygame inspired library.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, sdl2

More

Packages that depend on dartgame