fix: update string interpolation and use const TextStyle for consistency
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 47s
Pull Request Pipeline / lint (pull_request) Successful in 49s

This commit is contained in:
2026-05-09 11:51:13 +02:00
parent 868460b023
commit 8b7a519e64
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ class _MatchResultViewState extends State<MatchResultView> {
height: 50, height: 50,
width: 40, width: 40,
child: Text( child: Text(
" #${i + 1} ", ' #${i + 1} ',
style: const TextStyle( style: const TextStyle(
color: CustomTheme.primaryColor, color: CustomTheme.primaryColor,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,

View File

@@ -50,7 +50,7 @@ class TextIconListTile extends StatelessWidget {
children: [ children: [
TextSpan( TextSpan(
text: prefixText, text: prefixText,
style: TextStyle( style: const TextStyle(
fontSize: 16, fontSize: 16,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: CustomTheme.primaryColor, color: CustomTheme.primaryColor,