auth dialog app info component ui change

This commit is contained in:
DASHU
2024-09-06 00:51:28 +08:00
parent f908387049
commit 651141f800

View File

@@ -49,10 +49,7 @@ class _AuthAppInfoComponent extends State<AuthAppInfoComponent> {
));
}
return Stack(
alignment: Alignment.center,
children: [
Container(
return Container(
width: double.infinity,
height: 64,
child: Card(
@@ -62,8 +59,7 @@ class _AuthAppInfoComponent extends State<AuthAppInfoComponent> {
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
margin:
const EdgeInsets.only(right: Base.BASE_PADDING_HALF),
margin: const EdgeInsets.only(right: Base.BASE_PADDING_HALF),
child: StringUtil.isBlank(widget.app.image)
? const Icon(
Icons.image,
@@ -75,21 +71,24 @@ class _AuthAppInfoComponent extends State<AuthAppInfoComponent> {
height: 40,
),
),
Column(
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),
)
],
);
}
}