onCollisionEndCallback property

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

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

Implementation

@override
CollisionEndCallback<PositionComponent>? onCollisionEndCallback;