fix: update string interpolation and use const TextStyle for consistency
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user