How to recreate Instagram swipable pictures in Flutter? - flutter

I want to make a Widget which holds pictures and is swipable. When I swipe, I want to see the next picture, and if I swipe far enough it switches to the next picture. If you've ever used Instagram, this is the feature I'm talking about.

Related

Is this possible using Flutter streams

I have a Flutter screen is suppose to implement a photo-gallery which has a main big image and a grid view of many small images. When the screen is first displayed it displays the first image in the grid normally and shows it in the big picture and has the other small images at a darker color filter to show they are not the one currently selected. When the user taps on a different one the main photo is changed to a large version of the small image and which ever small image that was previously selected goes dark and the selected image is displayed normally.
This list of images also contain YouTube videos which are indicated by showing a translucent play icon in the middle of them. When the user taps on one of these it plays the video.
To implement this I made a base class called media and inherited the image and YouTube classes from media. I would like to have both classes have the same behavior in terms of highlighting and perform differently in terms of how they display and what happens when you tap on one. So far I can send a message from the images to the main screen to tell the main image to change but I am not sure how to get main screen to send a message to the previously highlighted small image and the to the be highlighted small image in order to change their highlighting.
I tried global keys but I could not get that to work. So, I was thinking of using a stream but I am new to Flutter and Dart so not sure how to get that to work. What can I try next?

Is there a way to use a cached image from a url as a placeholder of the FadeInImage.memoryNetwork or another widget which does the same thing?

I have a flutter app with a detail page with the main fadeinimage widget and many small images on the bottom of it. When the user taps one of the small images, the main image changes to a bigger version of the small image, I was hoping that when the user taps the small image, it could be used as the placeholder of the large image because it has already been loaded and shows that photo till the big picture is loaded. Is something like that possible?
You might want to checkout the package https://pub.dev/packages/cached_network_image

Animating widget to next available space in gridview

I am removing and adding to a list that is being display in a GridView.builder. I want a way to animate each item to the next available space, just like how your apps would react when reorganizing the apps on the home screen of an iOS device. Is there an out of the box animation that accomplishes this?
Here is an example of what I am trying to accomplish.
(don't pay attention to the collection of apps, just how the last app transitions to the next available space)

Does the Deezer Logo has to be visible in every scrolling state (position fixed) or is it okay to place it just anywhere on the page?

On the Deezer Logo Guideline Page, it says "Each application using Deezer API/SDKs must have to include a clearly visible Deezer Logo.".
I am confused about the words "clearly visible", as it doesn't tell me if it has to be visible all the time, or if it's okay to place the logo in any place which is big enough and not hidden by default.
For example i could put the logo in a container which is fixed to a certain screen position and therefore is always visible, or i could put the logo in the page footer, which would be more user-friendly, especially on mobile devices with small displays.
How do I have to position the Deezer Logo in order to use it correctly?
It just has to be visible when the user arrived on your page, no need to be visible all the time but the user has to know that he is using Deezer service

Basic iPhone App w/ Thumbnails, Full Images, Video

I'm trying to determine the best starting structure (navigation, windows based, something else) for my iPhone app. I'm a complete noob with everything Apple (just got the mini a couple days ago).
I currently have three apps on Android and want to port to iOS. The apps are very basic. Here's a quick description with fake examples.
1st Screen - 2 Buttons (Cat / Dog) - Users selects one (Dog)
2nd Screen - 6 thumbnails of Dogs (all visible on screen) - User selects one.
3rd Screen - Full image of user selected thumbnail. Full image is clickable.
4th Screen or pop up - If user clicks full image, a 3 second video clip (mp4) plays. After playing, automatically goes back to Full Image screen.
In XCode 4, what would be the best starting point? Navigation, Windows, Single View, or just blank and hammer it out?
Ideally, I would like this to be dynamic where I only create the basic views and variables based on the user selection drives what is displayed.
Any help is greatly appreciated. Thanks!
I would go with navigation based app but hide the navigation bar or at least the back button so that the user can't go back on their own. This will work well because you can get the nice slide animation between screens. And you can use multiple views easily so you don't have to worry about trying to cram all of your stuff into one view and animate it.