priority property

  1. @override
VariantPriority priority
final

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

@override
final priority = VariantPriority.normal;