Flutter Two sided swipe button creation - flutter

In my case, need up and down swipe button in flutter. My UI design should exactly match the attached screen shot. Can anyone help me to achieve this please??

Related

How to animate(stretch & shrink) appbar(PreferedSizedWidget) in flutter?

I'm going to implement some nice animation to sliver appbar's bottom property. So that when i pressed on the button, it should show up like fadeinDown animation. and at the next time should disappear with fadeOutUp animation.
As you can see now it is appearing and disappearing suddenly. which is not good user experience.
Could someone help me with it? I'm having trouble to give animation to PreferedSizeWidget(appBar)
You can fix this with TweenAnimationBuilder.
TweenAnimation

Flutter: Achieving custom page swipe animation with pageview

I'm trying to make a custom animation for pageview and was looking for some guidance.
I already tried using transformer pageview but in my use case it's crashing and found it unreliable.
I'm looking to implement 2 animations
depth based transition where a pages move behind and scale back
regular overlay, during swipe pages are stacked on top of each other
I want to know if it's possible to achieve this with regular pageview, if so how do I go about it?
Appreciate your help

Flutter: Partially overlapping buttons that can switch overlapping on tap

I am trying to create a layout of two elevated buttons as below screen shots. One button is partially overlapping other button on the right side. When button on the right is tapped then it will partially overlap the button on left.
I can do it using stack but that will require a lot playing around with the positions.
I am wondering if someone could point me to the right direction on how to achieve this layout.
Regards,
Jamal

Animate card widget on button click Tinder like swipe

Hello all I am building Tinder like swipe in Flutter. So far so good I have made the stack of cards together with the gesture detector when the user swipes left/right. However my issue come when I try to animate on click of a button. Under the stack of cards there are 2 buttons which you can like or dislike on button click. I would like to get an advice how I can approach the animation when the user clicks on either button. Below is my code for displaying the stack. Best wishes
There are several options to animate the card off screen. Since you're already using a Stack, AnimatedPosition is probably the best option.
You could also use Transform.translate to set the transform property of an AnimatedContainer. Or, if you want more control over the animation you could use a SlideTransition.
For a good overview of how to decide which animations you need, see this video from two days ago: https://www.youtube.com/watch?v=GXIJJkq_H8g
There's also https://pub.dev/packages/animations for more pre-packed options.

Touch feedback during swipe left and right

My app has a master-detail structure, where the user can tap on a master item to go to the detail view and then swipe left or right to navigate to other details items.
I'm using on-swipe-left and on-swipe-right to let users swipe between the detail views, however, when the user swipes, there is no visual feedback that there is a swipe happening. Only after the user has fully swiped does anything happen. I thought I could use the slide box, because the slidebox does provide visual feedback as soon as you start swiping, however, my views have vertical scroll and that conflicts with the left and right swipe actions due to the swipe sensitivity. In other words, when the user touches the screen to begin scrolling down, the swipe action takes over and it tries to swipe left or right instead of scrolling down.
So, what are my options? Is there any way I can provide some kind of an animation with on-swipe-left and on-swipe-right so that there is some kind of visual feedback (may be an ink trail on the screen) I can show the user? Or is there any way I can make the slidebox approach work so that the horizontal swipe and vertical scroll can function harmoniously? I have seen other apps that have scroll and swipe functions working harmoniously--gmail and pinterest are examples. Just not able to get it working with ionic.
Or is there another UI pattern that I am not thinking of? Worst case, I could provide buttons for next and previous, but this is a mobile app, so I really shouldn't have to resort to that.
Thanks!