onTapDown method
Implementation
@override
@mustCallSuper
void onTapDown(TapDownEvent event) {
if (_isDisabled) {
return;
}
onPressed?.call();
isPressed = true;
updateState();
}
@override
@mustCallSuper
void onTapDown(TapDownEvent event) {
if (_isDisabled) {
return;
}
onPressed?.call();
isPressed = true;
updateState();
}