bindEventListeners method
Implementation
@override
void bindEventListeners() {
releasedListener = addEventListener(EventType.mouseReleasedEvent, (event) {
if (mobject.isInside(event.mousePos)) {
onClick();
return true;
}
return false;
});
}