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