feat: Replace star rating icons with a new SVG asset in the top professionals section.

This commit is contained in:
pradeepkumar committed 2026-03-18 11:57:38 +05:30
1 parent 42135ca7af
commit 2c657e77f2
2 files changed
+8 -7

No files matched your search

@@ -484,15 +484,13 @@ class _TopProfessionalsSectionState
// Star Rating
Row(
children: List.generate(5, (i) {
children: List.generate(rating.round().clamp(0, 5), (i) {
return Padding(
padding: const EdgeInsets.only(right: 4),
child: Icon(
i < rating.round()
? Icons.star_rounded
: Icons.star_outline_rounded,
color: const Color(0xFFE5A625),
size: 24,
child: SvgPicture.asset(
'assets/icons/star_filled_icon.svg',
width: 18,
height: 17,
),
);
}),