I wanted to design this UI using Row:

I have a similar scenario where I don't know the size and orientation of the images. This is what I can think of: Put all the image widgets and wrap it within a row. But since I don't know the size as well as the orientation of the images, the widgets will not be properly placed as in the above image.
I've tried resizing the images by using scale factor. But since the size varies, the images are never uniformly scaled. Also whenever the orientation is different for a particular image, the UI ca not scale itself accordingly.
I would like to get an idea on how can this type of UI can be created in Flutter?
Note: I don't own the copyrights of the image. Using this screenshot for only educational purpose from here.