Untitled
unknown
plain_text
5 months ago
871 B
2
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