isResponsive property

bool get isResponsive

Whether it maps variants to breakpoints (and shows the one for the screen's width).

Implementation

bool get isResponsive =>
    type == VarianceProps.spec.type && varianceVariants.any((v) => v['breakpoint'] is String && (v['breakpoint'] as String).isNotEmpty);