Skip to content

Commit 6c07dd7

Browse files
authored
fix: make 'Tag' label bold in edit task view (tags_widget.dart)
PR #510
1 parent ea66fb0 commit 6c07dd7

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

lib/app/modules/detailRoute/views/tags_widget.dart

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import 'package:taskwarrior/app/utils/app_settings/app_settings.dart';
1111

1212
import 'package:taskwarrior/app/utils/constants/constants.dart';
1313
import 'package:taskwarrior/app/utils/constants/utilites.dart';
14+
import 'package:taskwarrior/app/utils/gen/fonts.gen.dart';
1415
import 'package:taskwarrior/app/utils/language/sentence_manager.dart';
1516
import 'package:taskwarrior/app/utils/taskfunctions/validate.dart';
1617
import 'package:taskwarrior/app/utils/themes/theme_extension.dart';
@@ -47,10 +48,27 @@ class TagsWidget extends StatelessWidget {
4748
scrollDirection: Axis.horizontal,
4849
child: Row(
4950
children: [
50-
Text(
51-
'${'$name:'.padRight(13)}${(value as ListBuilder?)?.build()}',
52-
style: TextStyle(
53-
color: textColor,
51+
RichText(
52+
text: TextSpan(
53+
children: <TextSpan>[
54+
TextSpan(
55+
text: '$name:'.padRight(13),
56+
style: TextStyle(
57+
fontFamily: FontFamily.poppins,
58+
fontWeight: TaskWarriorFonts.bold,
59+
fontSize: TaskWarriorFonts.fontSizeMedium,
60+
color: textColor,
61+
),
62+
),
63+
TextSpan(
64+
text: '${(value as ListBuilder?)?.build()}',
65+
style: TextStyle(
66+
fontFamily: FontFamily.poppins,
67+
fontSize: TaskWarriorFonts.fontSizeMedium,
68+
color: textColor,
69+
),
70+
),
71+
],
5472
),
5573
),
5674
],

0 commit comments

Comments
 (0)