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

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

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