|
|
|
@ -75,6 +75,8 @@ class _ForgetPasswordVerifyOtpViewState extends State<ForgetPasswordVerifyOtpVie
|
|
|
|
final minutes = (_remainingSeconds ~/ 60).toString().padLeft(2, '0');
|
|
|
|
final minutes = (_remainingSeconds ~/ 60).toString().padLeft(2, '0');
|
|
|
|
final seconds = (_remainingSeconds % 60).toString().padLeft(2, '0');
|
|
|
|
final seconds = (_remainingSeconds % 60).toString().padLeft(2, '0');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String otpMethodValue = widget.data['typeSend'] == "SMS" ? widget.data['phoneNumber']["phoneNumber"] : widget.data["phoneNumber"]['email'];
|
|
|
|
|
|
|
|
|
|
|
|
return Scaffold(
|
|
|
|
return Scaffold(
|
|
|
|
body: Column(
|
|
|
|
body: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
@ -85,7 +87,7 @@ class _ForgetPasswordVerifyOtpViewState extends State<ForgetPasswordVerifyOtpVie
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Text(context.translation.otpVerification, style: AppTextStyles.heading2.copyWith(color: AppColor.headingTextColor(context), fontWeight: FontWeight.w500)),
|
|
|
|
Text(context.translation.otpVerification, style: AppTextStyles.heading2.copyWith(color: AppColor.headingTextColor(context), fontWeight: FontWeight.w500)),
|
|
|
|
8.height,
|
|
|
|
8.height,
|
|
|
|
InfoTextLabelWidget(label: '${context.translation.pleaseEnterTheOtpSentTo} ${widget.data['phoneNumber']}'),
|
|
|
|
InfoTextLabelWidget(label: '${context.translation.pleaseEnterTheOtpSentTo} $otpMethodValue'),
|
|
|
|
32.height,
|
|
|
|
32.height,
|
|
|
|
Center(
|
|
|
|
Center(
|
|
|
|
child: Pinput(
|
|
|
|
child: Pinput(
|
|
|
|
|