what is the equivalent class for DropHandler in vaadin 14 flow ?

I am working vaadin 14 upgrade from vaadin 8. I just want to know the right equivalent for DropHandler in vaadin 14.

Please advise / suggest the correct equivalent for DropHandler.

Also please suggest possible alternate for below classes in vaadin 14.

  1. com.vaadin.ui.Embedded
  2. com.vaadin.server.ThemeResource

Maybe the documentation will help you forward for the drop handling: https://vaadin.com/docs/v14/flow/dnd/drop-target.html

As for ThemeResource, StreamResource is probably the most obvious replacement; Vaadin 14 handles resources quite differently from Vaadin 8.