💄 Better paste & drag 'n drop handling

This commit is contained in:
2024-06-30 17:43:36 +08:00
parent 8c7de68e7a
commit 9d54b04f77
3 changed files with 62 additions and 45 deletions

View File

@ -82,17 +82,25 @@ class AccountHeadingWidget extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.baseline,
textBaseline: TextBaseline.alphabetic,
children: [
Text(
nick,
style: const TextStyle(
fontSize: 17,
fontWeight: FontWeight.bold,
),
).paddingOnly(right: 4),
Text(
'@$name',
style: const TextStyle(
fontSize: 15,
Flexible(
child: Text(
nick,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 17,
fontWeight: FontWeight.bold,
),
).paddingOnly(right: 4),
),
Flexible(
child: Text(
'@$name',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 15,
),
),
),
],