Reputation: 47
I'm designing a flutter app where we have some 'public' Google Photos album URL added through some channels. All we have is the album URL and I would like to display those photos in Flutter app itself rather than displaying a link and letting the user browse the photos in Chrome or some browser. Any ideas on how do I do it? Thanks!
Upvotes: 1
Views: 1553
Reputation: 19184
The easiest way is to use WebView: https://medium.com/flutter/the-power-of-webviews-in-flutter-a56234b57df2
But more advanced is to build a repository and read data to it and display using ListView Builder or something like that. This may need implementing an interface API layer.
This tutor may help you: https://blog.usejournal.com/how-to-display-anonymous-number-of-images-in-flutter-using-listview-builder-e2e8aaa2fa0a
Upvotes: 1