collision 0.0.3 copy "collision: ^0.0.3" to clipboard
collision: ^0.0.3 copied to clipboard

Collision Detection and 2D geometry library for Dart and/or Flutter.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add collision

With Flutter:

 $ flutter pub add collision

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

dependencies:
  collision: ^0.0.3

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:collision/collision.dart';
1
likes
150
points
5.99k
downloads

Publisher

unverified uploader

Weekly Downloads

Collision Detection and 2D geometry library for Dart and/or Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

vector_math

More

Packages that depend on collision