开锁成功弹出框
This commit is contained in:
parent
22bd7e01b3
commit
08b71afe96
@ -506,7 +506,15 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
|
|||||||
height: MediaQuery.of(context).size.height,
|
height: MediaQuery.of(context).size.height,
|
||||||
width: MediaQuery.of(context).size.width,
|
width: MediaQuery.of(context).size.width,
|
||||||
color: Colors.black.withOpacity(0.5),
|
color: Colors.black.withOpacity(0.5),
|
||||||
child: Stack(
|
child: unlockSuccessWidget(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget unlockSuccessWidget() {
|
||||||
|
return Stack(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
children: [
|
children: [
|
||||||
Image.asset(
|
Image.asset(
|
||||||
@ -521,8 +529,7 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
|
|||||||
Text(
|
Text(
|
||||||
widget.lockListInfoItemEntity.lockAlias!,
|
widget.lockListInfoItemEntity.lockAlias!,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: AppColors.placeholderTextColor,
|
color: AppColors.placeholderTextColor, fontSize: 26.sp),
|
||||||
fontSize: 26.sp),
|
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 10.h,
|
height: 10.h,
|
||||||
@ -530,16 +537,11 @@ class _LockDetailPageState extends State<LockDetailPage> with TickerProviderStat
|
|||||||
Text(
|
Text(
|
||||||
getCurrentFormattedTime(),
|
getCurrentFormattedTime(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: AppColors.darkGrayTextColor,
|
color: AppColors.darkGrayTextColor, fontSize: 26.sp),
|
||||||
fontSize: 26.sp),
|
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
))
|
))
|
||||||
],
|
],
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user