A new Flutter project.
משימת בית:
שימוש בספריית Faker, לייצר 100 אובייקטים של צ'אט, נגיד 20 קבוצות ו80 פרטי.
להשתמש בListview.builder ולהציג את כל השיחות
המלצות להוספת קושי 😁:
מיינו את התוצאות של הצ'אט לפי התאריכים (מתודת SORT על המערך)
נסו להחליף את השעה בTRAILING ב"אתמול" או בתאריך (צרו פורמטר חדש מספריית INTL)
https://docs.flutter.dev/cookbook/lists/mixed-list
https://pub.dev/packages/faker/example
Using Faker generate 100 TEXT msgs;
Build the chat page UI:
App bar with the name, photo/avater/first Letter and appBar actions
Listview.builder but without using the ListTile
Note: Some of the msgs should "be sent" by me
, styling should be as showed in the video!!!
To make the triangles on the sides you need to use [ClipPath]
- Extra - Add the TextField at the bottom
- In the
MessageTile
widget, fix the width of the tile to be a min of 40% and a max of 75% of the screen width, depending on themessage
length. - Try implementing the
ChatInput
widget with all the buttons and text fields. - Show sender name if not sent by me
- Try to build the database schema for the chat app, use
drawio
right here in VSCODE. - Read about
freezed
; A video was sent earlier today. - Read what is document DB, and
firestore
. - Try to convert your schema to
firestore
collections and documents.