Messaging

Implemented Chat Screens, Profile Pages, Search Pages
WIP: User profile, new chat button
Intended: Groups, Calls, Voice Messages
Properly deleting chats, offline storage of messages
This commit is contained in:
2025-03-26 13:41:56 +00:00
parent 1a74d16d85
commit 1ba9e981e1
18 changed files with 812 additions and 236 deletions
+3
View File
@@ -6,6 +6,7 @@ class Details {
int unseenCount;
String? lastMessage;
DateTime? timeStamp;
String? type;
Details({
required this.name,
@@ -13,6 +14,7 @@ class Details {
required this.lastMessage,
required this.timeStamp,
required this.unseenCount,
required this.type
});
factory Details.fromData(String _details) {
@@ -22,6 +24,7 @@ class Details {
lastMessage: json.decode(_details)['lastMessage'],
timeStamp: DateTime.parse(json.decode(_details)['timeStamp'] ?? ""),
unseenCount: json.decode(_details)['unseenCount'],
type: json.decode(_details)['type'],
);
}
}