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,7 +75,8 @@ class _PatchItemState extends State<PatchItem> {
Row( Row(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[ children: <Widget>[
Text( Expanded(
child: Text(
widget.simpleName, widget.simpleName,
maxLines: 2, maxLines: 2,
overflow: TextOverflow.visible, overflow: TextOverflow.visible,
@ -84,16 +85,17 @@ class _PatchItemState extends State<PatchItem> {
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
), ),
), ),
const SizedBox(width: 6), ),
],
),
const SizedBox(height: 1),
Text( Text(
widget.version, widget.version,
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 14,
color: Theme.of(context).colorScheme.secondary, color: Theme.of(context).colorScheme.secondary,
), ),
), ),
],
),
const SizedBox(height: 4), const SizedBox(height: 4),
Text( Text(
widget.description, widget.description,