hasStateStyles property

bool get hasStateStyles

Whether this style contains scoped state overrides.

Implementation

bool get hasStateStyles =>
    hover != null ||
    focus != null ||
    focusVisible != null ||
    active != null ||
    disabled != null ||
    checked != null ||
    selected != null ||
    expanded != null ||
    invalid != null;