Flutter Chat App UI (Messaging App)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
how to create a chat app in flutter let's start with a list of messages each message has a text a daytime and a boolean flag next we want to display these messages therefore we go to the build method and within the column we create first of all a text field above the text field we create an expanded widget so that the text field moves to the bottom next we create a group list view that comes from the group list package the list of messages goes into the list view and then we have three more properties that we want to implement next inside the item builder we build each of the messages in this case a card with a text around the card we wrap an align widget to align it to the left or right side depending on who wrote the text and finally we group the messages together that are on the same day and for each of these group days we create a header so the header is basically a card widget with a text inside and we use then the intel package to format this state that is displayed in the header basically all the messages where the date is on the same day are grouped under the same header by default the top of the group list view is displayed however we want to scroll to the bottom to the last message therefore make sure to set a reverse descending order also set these both properties to true to have a sticky header at the top of your list view displayed while scrolling next if we enter in the text field a new text message then we want to create a new message object and add it to our list of messages with this if we submit the message it will be displayed at the bottom of the screen alternatively you can give your text field a different style also you could improve the style of the message bubbles [Music] you
Info
Channel: HeyFlutter․com
Views: 45,664
Rating: undefined out of 5
Keywords: build chat app flutter, building a chat app in flutter, chat, chat app, chat app flutter, chat ui flutter, chat ui tutorial, flutter, flutter beginner tutorial, flutter chat, flutter chat app, flutter chat design, flutter chat tutorial, flutter chat ui, flutter message application, flutter messaging, flutter tutorial, flutter ui, flutter ui ux, how to build a chat app, how to build flutter chat, messaging app, ui, whatsapp
Id: eGhvL082-Pc
Channel Id: undefined
Length: 2min 0sec (120 seconds)
Published: Tue Mar 08 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.