This commit is contained in:
venbaittech 2025-05-23 15:04:12 +05:30
parent b1ec5e4fed
commit c99ac679a6

View File

@ -228,22 +228,22 @@ class _CustomAppBarState extends State<CustomAppBar> {
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,