priority property
VariantPriority
get
priority
This is the priority at which the variants are applied. In the case of some context variants that are due to widget interactivity, they should be applied at a higher priority than media query variants, for example.
Implementation
VariantPriority get priority;