fist commit ftc staff app clone
This commit is contained in:
20
lib/view/screens/chat/arguments/chat_screen_args.dart
Normal file
20
lib/view/screens/chat/arguments/chat_screen_args.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:ftc_mobile_app/models/chat/ChatModel.dart';
|
||||
import 'group_data_args.dart';
|
||||
|
||||
class ChatScreenArgs {
|
||||
final String name;
|
||||
final String profilePicPath;
|
||||
final String otherUserId;
|
||||
final GroupDataArgs? groupData;
|
||||
|
||||
final ValueChanged<ChatModel>? onLastMessageUpdate;
|
||||
|
||||
ChatScreenArgs({
|
||||
required this.name,
|
||||
required this.profilePicPath,
|
||||
required this.otherUserId,
|
||||
this.groupData,
|
||||
this.onLastMessageUpdate,
|
||||
});
|
||||
}
|
||||
13
lib/view/screens/chat/arguments/group_data_args.dart
Normal file
13
lib/view/screens/chat/arguments/group_data_args.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:ftc_mobile_app/models/chat/combined_last_messages_model_class.dart';
|
||||
|
||||
class GroupDataArgs {
|
||||
final String groupId;
|
||||
final List groupMembersIds;
|
||||
final GroupWorkingScheduleTime scheduleTime;
|
||||
|
||||
GroupDataArgs({
|
||||
required this.groupId,
|
||||
required this.groupMembersIds,
|
||||
required this.scheduleTime,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user