fix(feed): task 374 raing score, description

This commit is contained in:
mso7nueh
2025-04-25 13:50:23 +03:00
parent 886dfa2570
commit a52a5383de

View File

@@ -81,7 +81,7 @@ class ConsultantWidget extends StatelessWidget {
),
const SizedBox(height: 4),
Text(
'Рейтинг: RATING',
'Рейтинг: ${consultant.totalScores}',
style: TextStyle(
color: appTheme.blueA400,
height: 1,
@@ -106,7 +106,11 @@ class ConsultantWidget extends StatelessWidget {
],
),
const SizedBox(height: 8),
const Text('description'),
Text(
consultant.description,
style: TextStyle(),
maxLines: 2,
),
if (consultant.badges.isNotEmpty) const SizedBox(height: 8),
_badges(consultant.badges, context),
],