feat: Update TopProfessionalsSection with a new building icon and refined CTA button styling.

This commit is contained in:
pradeepkumar
2026-03-14 22:21:48 +05:30
parent 751388ed00
commit 4475965780
2 changed files with 11 additions and 9 deletions

View File

@@ -760,13 +760,13 @@ class _TopProfessionalsSectionState
child: Column(
children: [
Image.asset(
'assets/icons/network_icon.png',
width: 30,
height: 23,
errorBuilder: (_, e, s) => const Icon(
Icons.hub,
color: AppColors.primaryDark,
size: 30,
'assets/icons/building_icon.png',
width: 50,
height: 38,
errorBuilder: (_, __, ___) => const Icon(
Icons.business,
color: Color(0xFF5BA4A4),
size: 38,
),
),
const SizedBox(height: 12),
@@ -787,11 +787,12 @@ class _TopProfessionalsSectionState
onPressed: () => context.push('/agents/search'),
style: ElevatedButton.styleFrom(
backgroundColor: AppColors.accentOrange,
foregroundColor: AppColors.primaryDark,
foregroundColor: Colors.white,
padding: const EdgeInsets.symmetric(vertical: 14),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
borderRadius: BorderRadius.circular(15),
),
elevation: 0,
),
child: Text(
ctaButtonText,
@@ -799,6 +800,7 @@ class _TopProfessionalsSectionState
fontFamily: 'Fractul',
fontSize: 16,
fontWeight: FontWeight.w700,
color: Colors.white,
),
),
),