isColliding property

  1. @override
bool get isColliding
override

Whether the object is currently colliding or not.

Implementation

@override
bool get isColliding {
  return _activeCollisions != null && _activeCollisions!.isNotEmpty;
}