onTapCancel method
Implementation
@override
@mustCallSuper
void onTapCancel(TapCancelEvent event) {
if (buttonDown != null) {
buttonDown!.removeFromParent();
button!.parent = this;
}
onCancelled?.call();
}
@override
@mustCallSuper
void onTapCancel(TapCancelEvent event) {
if (buttonDown != null) {
buttonDown!.removeFromParent();
button!.parent = this;
}
onCancelled?.call();
}