diff --git a/lib/features/chat/presentation/pages/chat_screen.dart b/lib/features/chat/presentation/pages/chat_screen.dart index 3f809e28..fac8c5eb 100644 --- a/lib/features/chat/presentation/pages/chat_screen.dart +++ b/lib/features/chat/presentation/pages/chat_screen.dart @@ -219,7 +219,7 @@ class _ChatScreenState extends State { ), SizedBox(width: 8), SizedBox( - width: mediaQueryData.size.width - 96, + width: MediaQuery.of(context).size.width - 96, child: TextFormField( controller: textEditingController, maxLines: 5,