Adding theme variants for the component in Vaadin 11

Hi,
According to the Vaadin 11 doc, we should be able to use methods such as addThemeVariants() and getThemeNames() with components.
But these methods seem not yet available and are not documented in the api of v11.
Am I missing something ? My pom.xml was updated to use vaadin.version 11.0.0

Koenraad

Hi,

The docs are unfortunately wrong. The mentioned methods were added in Flow 1.1 but Vaadin 11 is using Flow 1.0. Vaadin 12 will be based on a newer Flow version