Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
323 views
in Technique[技术] by (71.8m points)

Display public Google Photos album in Flutter app

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!

question from:https://stackoverflow.com/questions/65517231/display-public-google-photos-album-in-flutter-app

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...