update screen transition
A slightly different approach to screen transitions. Now the active screen (the one we push) determines the animation. We already have this approach in our approach and it is very convenient.
I also added lastEvent to the enter/exit to understand the slide direction
Can you also update the docs in the repo? We have moved to the repo
@DevSrSouza If there are no more problems, maybe we can merge the request?
@shpasha Can you update this docs @shpasha https://github.com/adrielcafe/voyager/blob/main/docs/transitions-api.md ?
Adding the new ScreenTransition function and some examples using delegate implementation, etc.
@DevSrSouza docs updated
Awesome work, thanks for the contribution