OTPTextField
OTPTextField copied to clipboard
How to allow backspace or Does it backspace not work?
Hi, could you provide more details around this. What device/operating system it is happening what version of the library you're working with?
I am using otp_text_field: ^1.0.2 version
OTPTextField( length: 6, controller: viewModel.controller, width: MediaQuery.of(context).size.width, fieldWidth: 35, style: TextStyle( fontSize: 30, fontWeight: FontWeight.bold, color: Colors.black), textFieldAlignment: MainAxisAlignment.spaceAround, fieldStyle: FieldStyle.underline, onCompleted: (pin) { print("Completed: " + pin); viewModel.verification(mobile); }, onChanged: (value){
},
),
Backspace is not working same issue!!