isColliding property

bool isColliding

Whether the object is currently colliding or not.

Implementation

bool get isColliding {
  return _activeCollisions?.isNotEmpty ?? false;
}