onTap method
Implementation
@override
void onTap() {
if (selectable && !_lastSelected) {
selected = true;
} else {
selected = !selected;
}
_lastSelected = selected;
onTapComponent?.call(selected);
}
@override
void onTap() {
if (selectable && !_lastSelected) {
selected = true;
} else {
selected = !selected;
}
_lastSelected = selected;
onTapComponent?.call(selected);
}