Chat select navigation and data transfer

This commit is contained in:
2024-04-27 13:59:25 +03:00
parent c05ca6eaae
commit 7c30667aec
4 changed files with 24 additions and 22 deletions

View File

@@ -9,12 +9,12 @@ class ChatItemModel {
this.username,
this.dateText,
this.greetingText,
this.id}) {
required this.id}) {
userImage = userImage ?? ImageConstant.imageNotFound;
username = username ?? "Ксения Обрамова";
dateText = dateText ?? "9/29";
greetingText = greetingText ?? "Привет, хорошая статья";
id = id ?? "";
username = username;
dateText = dateText;
greetingText = greetingText;
id = id;
}
String? userImage;
@@ -25,5 +25,5 @@ class ChatItemModel {
String? greetingText;
String? id;
int id;
}