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,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),
|
||||
)
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user