Chrysolites Tech Academy

Video by Joel Loh | AI Automations · streamed from YouTube. All rights remain with the creator.

Lesson 20: Building the Comment Section Interface

About this lesson

In this part of the series, Joel Loh creates the user interface for the comment section of the photo-sharing app, using several components in FlutterFlow that work together, and reflects the like counts of posts alongside it. It begins with the comment section component, the container that holds the whole conversation about a post, designed so that it can be shown wherever comments are needed in the app. Inside it, the video builds a comment component, the reusable piece that displays a single comment with the information that belongs to it, so that every comment in the list looks consistent and the design only has to be made once. The video then finishes the comment section, bringing the comment components together into a complete layout in which users will be able to read the comments on a post and add their own. The final part of the video reflects the like count, showing the number of likes that a post has received, kept accurate by the Supabase triggers created in the previous part, so that the post's activity is visible to users. Building the interface first, before connecting the data, makes it easier to see how each part fits together and what information the database will need to provide. By the end of the video, the comment section's interface is complete, and the next part creates the comments table in Supabase so that users can post comments and see them displayed. Afterwards, read Chapter 20 of the course book, which works out the size of the comment sheet by hand.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.