logo alignment
This commit is contained in:
parent
157b329de1
commit
ca934a3a88
@ -472,7 +472,7 @@ class _OrgSetUpState extends State<OrgSetUp> {
|
|||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.center, // now -> .center , old -> .start
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 1.0),
|
padding: const EdgeInsets.only(top: 1.0),
|
||||||
@ -523,8 +523,9 @@ class _OrgSetUpState extends State<OrgSetUp> {
|
|||||||
? ClipRect(
|
? ClipRect(
|
||||||
child: Image.network(
|
child: Image.network(
|
||||||
selectedOrg!['logo'],
|
selectedOrg!['logo'],
|
||||||
width: 100,
|
width: 250, // increased
|
||||||
height: 30,
|
height: 75, // increased
|
||||||
|
|
||||||
fit: BoxFit.contain,
|
fit: BoxFit.contain,
|
||||||
errorBuilder:
|
errorBuilder:
|
||||||
(context, error, stackTrace) {
|
(context, error, stackTrace) {
|
||||||
|
|||||||
@ -227,12 +227,14 @@ class _CustomAppBarState extends State<CustomAppBar> {
|
|||||||
// padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 10),
|
// padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 10),
|
||||||
|
|
||||||
child: selectedOrg?['logo'] != null
|
child: selectedOrg?['logo'] != null
|
||||||
? ClipRect(
|
? SizedBox(
|
||||||
|
height: 60,
|
||||||
|
child: ClipRect(
|
||||||
child: Image.network(
|
child: Image.network(
|
||||||
selectedOrg!['logo'],
|
selectedOrg!['logo'],
|
||||||
width: 130,
|
width: 180, //130
|
||||||
height: 80,
|
height: 90, //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,
|
||||||
@ -241,7 +243,7 @@ class _CustomAppBarState extends State<CustomAppBar> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
))
|
||||||
: const CircleAvatar(
|
: const CircleAvatar(
|
||||||
radius: 20,
|
radius: 20,
|
||||||
// backgroundColor: Colors.white,
|
// backgroundColor: Colors.white,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user