Determine if a pointer event occurred within the widget's bounds and to check if a hit occurred on a Rive listener.
@override bool hitTest(Offset position) => _pointerEvent?.hitTest(position) ?? false;