sms_autofill
sms_autofill copied to clipboard
Is it possible can i read OTP and set it as text for controller ? Insted of using PinTextFieldFill can i use TextFormField ?
yes you can, Just use _codeController..text = _code; in onCodeChanged function
Hi @phanindravarma412 Yes you can by using SmsAutoFill().code;
It returns a Stream of type String.
You can make a StreamBuilder and place a TextField or TextFormField in its builder when the snapshot has data and edit its controller with the snapshot.data