How to get clicked component of Layout in Vaadin 14 ?

In vaadin 8, I use event.getClickedComponent() to get the actual component clicked from a layout by using layoutclicklistener.

this same logic i want to achieve in vaadin 14 flow api. i have tried by below code but not able to get the component clicked from layout.

layout.addClickListener(new ComponentEventListener<ClickEvent>() {
@Override
public void onComponentEvent(ClickEvent event) {
//event.getClickedComponent() is not available.
//event.getSource() is available but it does not bring the clicked component ex.button,checkbox
}
});

Jambu b:
In vaadin 8, I use event.getClickedComponent() to get the actual component clicked from a layout by using layoutclicklistener.

this same logic i want to achieve in vaadin 14 flow api. i have tried by below code but not able to get the component clicked from layout.

layout.addClickListener(new ComponentEventListener<ClickEvent>() {
@Override
public void onComponentEvent(ClickEvent event) {
//event.getClickedComponent() is not available.
//event.getSource() is available but it does not bring the clicked component ex.button,checkbox
}
});

Can anyone answer it please ?