onTapUp method

  1. @override
  2. @mustCallSuper
void onTapUp(
  1. TapUpEvent event
)
override

Implementation

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