forked from Henry-Hiles/nexus
fix renderflex overflow issue
This commit is contained in:
parent
dd7b88c994
commit
983f6d6c18
1 changed files with 15 additions and 13 deletions
|
|
@ -20,19 +20,21 @@ class MessageWrapper extends StatelessWidget {
|
||||||
message.metadata?["displayName"] ?? "",
|
message.metadata?["displayName"] ?? "",
|
||||||
)
|
)
|
||||||
: SizedBox(width: 40),
|
: SizedBox(width: 40),
|
||||||
Column(
|
Expanded(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
child: Column(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
if (groupStatus?.isFirst != false)
|
children: [
|
||||||
Text(
|
if (groupStatus?.isFirst != false)
|
||||||
message.metadata?["displayName"] ?? message.authorId,
|
Text(
|
||||||
overflow: TextOverflow.ellipsis,
|
message.metadata?["displayName"] ?? message.authorId,
|
||||||
style: Theme.of(
|
overflow: TextOverflow.ellipsis,
|
||||||
context,
|
style: Theme.of(
|
||||||
).textTheme.titleMedium?.copyWith(fontWeight: FontWeight.bold),
|
context,
|
||||||
),
|
).textTheme.titleMedium?.copyWith(fontWeight: FontWeight.bold),
|
||||||
child,
|
),
|
||||||
],
|
child,
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue