diff --git a/lib/Screens/organization/orgSetup.dart b/lib/Screens/organization/orgSetup.dart index 7d189b5..2da5748 100644 --- a/lib/Screens/organization/orgSetup.dart +++ b/lib/Screens/organization/orgSetup.dart @@ -472,7 +472,7 @@ class _OrgSetUpState extends State { color: Colors.white, child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, // now -> .center , old -> .start children: [ Padding( padding: const EdgeInsets.only(top: 1.0), @@ -523,8 +523,9 @@ class _OrgSetUpState extends State { ? ClipRect( child: Image.network( selectedOrg!['logo'], - width: 100, - height: 30, + width: 250, // increased + height: 75, // increased + fit: BoxFit.contain, errorBuilder: (context, error, stackTrace) { diff --git a/lib/routes/custom_appBar.dart b/lib/routes/custom_appBar.dart index 7d69ebb..1483a6c 100644 --- a/lib/routes/custom_appBar.dart +++ b/lib/routes/custom_appBar.dart @@ -227,12 +227,14 @@ class _CustomAppBarState extends State { // padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 10), child: selectedOrg?['logo'] != null - ? ClipRect( + ? SizedBox( + height: 60, + child: ClipRect( child: Image.network( selectedOrg!['logo'], - width: 130, - height: 80, - // fit: BoxFit.contain, + width: 180, //130 + height: 90, //80 + fit: BoxFit.contain, errorBuilder: (context, error, stackTrace) { return const CircleAvatar( radius: 20, @@ -241,7 +243,7 @@ class _CustomAppBarState extends State { ); }, ), - ) + )) : const CircleAvatar( radius: 20, // backgroundColor: Colors.white,