changeState method
void
changeState()
Implementation
void changeState() {
if (!_isAnimating) {
_targetValue = !value;
_isAnimating = true;
_animationKey++;
// Call onChange
if (widget.onChange != null) widget.onChange!(_targetValue);
}
// No inline debug drawing here — painting is handled in CustomPainter
}