mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
bugfix: fix overflow when user name it too long
This commit is contained in:
parent
f800216a9b
commit
942403d1a4
5 changed files with 19 additions and 15 deletions
|
@ -179,7 +179,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: HEAD
|
||||
resolved-ref: "82b9b0be80eb0d0c36b72432c7517a6d04cecb20"
|
||||
resolved-ref: "3793e853721291dc50655ca4ee7999508fe9e2fe"
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
@ -188,7 +188,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_view"
|
||||
ref: HEAD
|
||||
resolved-ref: "82b9b0be80eb0d0c36b72432c7517a6d04cecb20"
|
||||
resolved-ref: "3793e853721291dc50655ca4ee7999508fe9e2fe"
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
|
|
@ -228,7 +228,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: HEAD
|
||||
resolved-ref: "82b9b0be80eb0d0c36b72432c7517a6d04cecb20"
|
||||
resolved-ref: "3793e853721291dc50655ca4ee7999508fe9e2fe"
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
|
|
@ -186,7 +186,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: HEAD
|
||||
resolved-ref: "82b9b0be80eb0d0c36b72432c7517a6d04cecb20"
|
||||
resolved-ref: "3793e853721291dc50655ca4ee7999508fe9e2fe"
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
|
|
@ -39,11 +39,13 @@ class ChatDetailScreen extends StatelessWidget {
|
|||
image: (chat as PersonalChatModel).user.imageUrl,
|
||||
size: 36.0,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 15.5),
|
||||
child: Text(
|
||||
(chat as PersonalChatModel).user.name ?? '',
|
||||
style: const TextStyle(fontSize: 18),
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(left: 15.5),
|
||||
child: Text(
|
||||
(chat as PersonalChatModel).user.name ?? '',
|
||||
style: const TextStyle(fontSize: 18),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
@ -52,11 +54,13 @@ class ChatDetailScreen extends StatelessWidget {
|
|||
image: (chat as GroupChatModel).imageUrl,
|
||||
size: 36.0,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 15.5),
|
||||
child: Text(
|
||||
(chat as GroupChatModel).title,
|
||||
style: const TextStyle(fontSize: 18),
|
||||
Expanded(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(left: 15.5),
|
||||
child: Text(
|
||||
(chat as GroupChatModel).title,
|
||||
style: const TextStyle(fontSize: 18),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
@ -179,7 +179,7 @@ packages:
|
|||
description:
|
||||
path: "packages/flutter_community_chat_interface"
|
||||
ref: HEAD
|
||||
resolved-ref: "82b9b0be80eb0d0c36b72432c7517a6d04cecb20"
|
||||
resolved-ref: "3793e853721291dc50655ca4ee7999508fe9e2fe"
|
||||
url: "https://github.com/Iconica-Development/flutter_community_chat.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
|
Loading…
Reference in a new issue