Untitled
unknown
plain_text
10 months ago
871 B
3
Indexable
LoginOtpService()
.initiateOtpProcess(_mobileController.text, context);
String newOtpReference =
context.watch<OtpProvider>().otpReference;
if (newOtpReference.isNotEmpty) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => FinvuGetOtpScreen(
otpReference: newOtpReference,
getNumber: _mobileController.text,
),
),
);
} else {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text('Something went wrong')),
);
}Editor is loading...
Leave a Comment