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