feat(chat): Classes added to chat screen

This commit is contained in:
2024-04-04 13:28:15 +03:00
parent 28d6525c78
commit 8386bcf137
5 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import 'bloc/chat_bloc.dart';
import 'models/chat_model.dart';
import 'package:eatvio_app/core/app_export.dart';
import 'package:flutter/material.dart';
class ChatScreen extends StatelessWidget {
const ChatScreen({Key? key}) : super(key: key);
static Widget builder(BuildContext context) {
return BlocProvider<ChatBloc>(
create: (context) => ChatBloc(ChatState(chatModelObj: ChatModel()))
..add(ChatInitialEvent()),
child: ChatScreen());
}
@override
Widget build(BuildContext context) {
mediaQueryData = MediaQuery.of(context);
return Container();
}
}