This is the UI that I aim to achieve
Hi everyone, I’m new to Flutter and i have a problem, How can I create a UI like the one in the image, consisting of two images connected by an arrow?
I’ve used the Positioned
widget, but I’m unsure how to correctly position the arrow to match the design. Could someone help me with this? Thank you.
2
Answers
You can do the following:
Row
to position your cards.Transform.rotate
.Stack
and put theRow
and theImage
inside that.Result:
Code:
Just use a better image for the arrow (transparent background).
You can easily achieve this by using rows and columns or you can use stack widget as well.
Here’s a solution using rows and columns:
Don’t forget to add your images inside your assets folder and also play with this to get your desired design