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