feat(video_calls): changed chat button layoute

This commit is contained in:
misha
2026-06-15 14:07:56 +03:00
parent 5daa187045
commit 1cafb4b05a

View File

@@ -217,12 +217,23 @@ class _ChatScreenState extends State<ChatScreen> {
),
),
const SizedBox(width: 16),
Column(
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(state.chatRoom.users.receiver.name, style: CustomTextStyles.titleSmallBold.copyWith(color: PrimaryColors().black)),
Text(
state.chatRoom.users.receiver.name,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: CustomTextStyles.titleSmallBold.copyWith(color: PrimaryColors().black),
),
AnimatedCrossFade(
firstChild: Text('Печатает...', style: CustomTextStyles.bodySmallMulishPrimary),
firstChild: Text(
'Печатает...',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: CustomTextStyles.bodySmallMulishPrimary,
),
firstCurve: Curves.easeIn,
secondCurve: Curves.easeOut,
secondChild: const SizedBox.shrink(),
@@ -231,6 +242,7 @@ class _ChatScreenState extends State<ChatScreen> {
),
],
),
),
],
),
),