From c99ac679a6c249b3c488708475f704672efbd5f0 Mon Sep 17 00:00:00 2001 From: venbaittech Date: Fri, 23 May 2025 15:04:12 +0530 Subject: [PATCH] merged --- lib/routes/custom_appBar.dart | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/routes/custom_appBar.dart b/lib/routes/custom_appBar.dart index 11b9a26..338892a 100644 --- a/lib/routes/custom_appBar.dart +++ b/lib/routes/custom_appBar.dart @@ -228,22 +228,22 @@ class _CustomAppBarState extends State { child: selectedOrg?['logo'] != null ? SizedBox( - height: 60, - child: ClipRect( - child: Image.network( - selectedOrg!['logo'], - width: 180, //130 - height: 90, //80 - fit: BoxFit.contain, - errorBuilder: (context, error, stackTrace) { - return const CircleAvatar( - radius: 20, - backgroundColor: Colors.redAccent, - child: Icon(Icons.error, size: 10), - ); - }, - ), - )) + height: 60, + child: ClipRect( + child: Image.network( + selectedOrg!['logo'], + width: 130, //130 + height: 80, //80 + fit: BoxFit.contain, + errorBuilder: (context, error, stackTrace) { + return const CircleAvatar( + radius: 20, + backgroundColor: Colors.redAccent, + child: Icon(Icons.error, size: 10), + ); + }, + ), + )) : const CircleAvatar( radius: 20, // backgroundColor: Colors.white,