⬆️ 升级支持服务器的 Event Based Messages #2
@ -104,16 +104,16 @@ class ChatEvent extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
} else if (isQuote) {
|
} else if (isQuote) {
|
||||||
return Row(
|
return Card(
|
||||||
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
const Opacity(
|
const Opacity(
|
||||||
opacity: 0.75,
|
opacity: 0.75,
|
||||||
child: FaIcon(FontAwesomeIcons.quoteLeft, size: 14),
|
child: FaIcon(FontAwesomeIcons.quoteLeft, size: 14),
|
||||||
).paddingOnly(bottom: 4),
|
).paddingOnly(bottom: 2.75),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Card(
|
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@ -133,11 +133,11 @@ class ChatEvent extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
buildContent().paddingOnly(left: 0.5),
|
buildContent().paddingOnly(left: 0.5),
|
||||||
],
|
],
|
||||||
).paddingSymmetric(horizontal: 12, vertical: 4),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
).paddingOnly(left: isMerged ? 66 : 14, right: 4);
|
).paddingOnly(left: 12, right: 12, top: 8, bottom: 4),
|
||||||
|
).paddingOnly(left: isMerged ? 52 : 0, right: 4);
|
||||||
} else {
|
} else {
|
||||||
return Column(
|
return Column(
|
||||||
key: Key('m${item.uuid}'),
|
key: Key('m${item.uuid}'),
|
||||||
|
Loading…
Reference in New Issue
Block a user