Skip to content

Commit

Permalink
feat: better patch version background.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunali321 committed Sep 24, 2022
1 parent 32fabcf commit 4722880
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion lib/ui/widgets/patchesSelectorView/patch_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,28 @@ class _PatchItemState extends State<PatchItem> {
children: <Widget>[
Text(
widget.simpleName,
maxLines: 2,
overflow: TextOverflow.visible,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
const SizedBox(width: 4),
Text(widget.version)
Container(
padding: const EdgeInsets.symmetric(
horizontal: 4,
vertical: 2,
),
decoration: BoxDecoration(
color: Theme.of(context)
.colorScheme
.background
.withOpacity(0.5),
borderRadius: BorderRadius.circular(6),
),
child: Text(widget.version),
)
],
),
const SizedBox(height: 4),
Expand Down

0 comments on commit 4722880

Please sign in to comment.