p2 0.5.5 copy "p2: ^0.5.5" to clipboard
p2: ^0.5.5 copied to clipboard

Dart 1 only

A Dart port for P2.js 2D physics library.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add p2

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

dependencies:
  p2: ^0.5.5

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:p2/p2.dart';
0
likes
15
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart port for P2.js 2D physics library.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on p2