feat(chat): Messages list fill, message model

This commit is contained in:
2024-05-07 13:02:59 +03:00
parent d537a05fac
commit 7279ff69a8
4 changed files with 67 additions and 21 deletions

View File

@@ -13,7 +13,6 @@ class ChatScreen extends StatelessWidget {
const ChatScreen({Key? key}) : super(key: key);
static Widget builder(BuildContext context) {
final chatID = ModalRoute.of(context)!.settings.arguments;
print(chatID.toString());
return BlocProvider<ChatBloc>(
create: (context) => ChatBloc(
ChatState(chatModelObj: ChatModel(chatID: chatID.toString())))