actionUp method
Implementation
void actionUp(int pointer) {
if (pointer == _pointer) {
_dragging = false;
_rectBackgroundDirection?.let((rectBackgroundDirection) {
_dragPosition = rectBackgroundDirection.center;
});
_controller.onJoystickAction(
JoystickActionEvent(
id: actionId,
event: ActionEvent.UP,
),
);
unPressed();
}
}