Create a UI similar to Facebook, which can display both images and videos together

Hi Everyone,

Good Day…

I want to create a social media application using flutter, but am not aware of what widget or flutter component i should be using that can display both images and videos together in a post. Please help.

Thanks in advance.

@UnI_United_Tech There is no widget as such but you can use a combination of few widgets to achieve this.

  1. video_player
  2. Image.network()
  3. flutter_staggered_gridview

You would have to play around with the UI to get it as per your requirements :slight_smile:

2 Likes