onCollisionEndCallback property

  1. @override
CollisionEndCallback<PositionComponent>? onCollisionEndCallback
getter/setter pairinherited

Assign your own CollisionEndCallback if you want a callback when this shape stops colliding with another PositionComponent.

Implementation

@override
CollisionEndCallback<PositionComponent>? onCollisionEndCallback;