priority property

  1. @override
VariantPriority get priority
override

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
VariantPriority get priority => VariantPriority.normal;