merged
This commit is contained in:
parent
b1ec5e4fed
commit
c99ac679a6
@ -228,22 +228,22 @@ class _CustomAppBarState extends State<CustomAppBar> {
|
|||||||
|
|
||||||
child: selectedOrg?['logo'] != null
|
child: selectedOrg?['logo'] != null
|
||||||
? SizedBox(
|
? SizedBox(
|
||||||
height: 60,
|
height: 60,
|
||||||
child: ClipRect(
|
child: ClipRect(
|
||||||
child: Image.network(
|
child: Image.network(
|
||||||
selectedOrg!['logo'],
|
selectedOrg!['logo'],
|
||||||
width: 180, //130
|
width: 130, //130
|
||||||
height: 90, //80
|
height: 80, //80
|
||||||
fit: BoxFit.contain,
|
fit: BoxFit.contain,
|
||||||
errorBuilder: (context, error, stackTrace) {
|
errorBuilder: (context, error, stackTrace) {
|
||||||
return const CircleAvatar(
|
return const CircleAvatar(
|
||||||
radius: 20,
|
radius: 20,
|
||||||
backgroundColor: Colors.redAccent,
|
backgroundColor: Colors.redAccent,
|
||||||
child: Icon(Icons.error, size: 10),
|
child: Icon(Icons.error, size: 10),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
: const CircleAvatar(
|
: const CircleAvatar(
|
||||||
radius: 20,
|
radius: 20,
|
||||||
// backgroundColor: Colors.white,
|
// backgroundColor: Colors.white,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user