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
copied to clipboard

With Flutter:

 $ flutter pub add collision
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
1
likes
150
points
3.67k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

vector_math

More

Packages that depend on collision