feat: fix overflow text & separate version from patch name (#666)

* chore: Add note

* feat: Fix overflow text & seperate version from patch title

* feat: Fix overflow text & separate version from patch name
This commit is contained in:
EvadeMaster 2023-01-30 19:07:25 +07:00 committed by GitHub
parent 1c965c3788
commit 40888c07f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,25 +75,27 @@ class _PatchItemState extends State<PatchItem> {
Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[
Text(
widget.simpleName,
maxLines: 2,
overflow: TextOverflow.visible,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
const SizedBox(width: 6),
Text(
widget.version,
style: TextStyle(
fontSize: 16,
color: Theme.of(context).colorScheme.secondary,
Expanded(
child: Text(
widget.simpleName,
maxLines: 2,
overflow: TextOverflow.visible,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
),
],
),
const SizedBox(height: 1),
Text(
widget.version,
style: TextStyle(
fontSize: 14,
color: Theme.of(context).colorScheme.secondary,
),
),
const SizedBox(height: 4),
Text(
widget.description,
@ -201,4 +203,4 @@ class _PatchItemState extends State<PatchItem> {
),
);
}
}
}