determineControlState method
Determines the current material state of the control.
Implementation
OudsChipControlState determineControlState() {
if (!enabled) return OudsChipControlState.disabled;
if (isPressed) return OudsChipControlState.pressed;
if (isHovered) return OudsChipControlState.hovered;
if (isFocused) return OudsChipControlState.focused;
return OudsChipControlState.enabled;
}