mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 09:54:19 +01:00
auth dialog app info component ui change
This commit is contained in:
@@ -49,47 +49,46 @@ class _AuthAppInfoComponent extends State<AuthAppInfoComponent> {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
return Stack(
|
return Container(
|
||||||
alignment: Alignment.center,
|
width: double.infinity,
|
||||||
children: [
|
height: 64,
|
||||||
Container(
|
child: Card(
|
||||||
width: double.infinity,
|
child: Container(
|
||||||
height: 64,
|
padding: const EdgeInsets.all(Base.BASE_PADDING_HALF),
|
||||||
child: Card(
|
child: Row(
|
||||||
child: Container(
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
padding: const EdgeInsets.all(Base.BASE_PADDING_HALF),
|
children: [
|
||||||
child: Row(
|
Container(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
margin: const EdgeInsets.only(right: Base.BASE_PADDING_HALF),
|
||||||
children: [
|
child: StringUtil.isBlank(widget.app.image)
|
||||||
Container(
|
? const Icon(
|
||||||
margin:
|
Icons.image,
|
||||||
const EdgeInsets.only(right: Base.BASE_PADDING_HALF),
|
size: 46,
|
||||||
child: StringUtil.isBlank(widget.app.image)
|
)
|
||||||
? const Icon(
|
: ImageComponent(
|
||||||
Icons.image,
|
imageUrl: widget.app.image!,
|
||||||
size: 46,
|
width: 40,
|
||||||
)
|
height: 40,
|
||||||
: ImageComponent(
|
),
|
||||||
imageUrl: widget.app.image!,
|
|
||||||
width: 40,
|
|
||||||
height: 40,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Column(
|
|
||||||
mainAxisSize: MainAxisSize.min,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: rightList,
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
Expanded(
|
||||||
|
child: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: rightList,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Container(
|
||||||
|
margin: EdgeInsets.only(
|
||||||
|
left: Base.BASE_PADDING_HALF,
|
||||||
|
right: Base.BASE_PADDING_HALF,
|
||||||
|
),
|
||||||
|
child: AppTypeComponent(widget.app.appType!),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Positioned(
|
),
|
||||||
right: 16,
|
|
||||||
child: AppTypeComponent(AppType.WEB),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user