Description
When i migrate to latest version, i getting this error continuously in the logs like infinite. Below is my code.
PinCodeTextField( appContext: context, length: 6, pinTheme: PinTheme( shape: PinCodeFieldShape.box, borderRadius: BorderRadius.circular(10), borderWidth: 1, fieldWidth: SizeConfig.widthMultiplier * 12, fieldHeight: SizeConfig.widthMultiplier * 12, activeColor: Colors.black87, selectedColor: AppTheme.btnGreen, inactiveColor: Colors.grey[300], ), textStyle: TextStyle(fontSize: 14,fontWeight: FontWeight.normal), onChanged: (value){ print(value); setState(() { smsPinEntered = false; smsPin = value; }); }, onCompleted: (status){ print("Completed :$status"); setState(() { smsPinEntered = true; }); }, beforeTextPaste: (text) { print("Allowing to paste $text"); //if you return true then it will show the paste confirmation dialog. Otherwise if false, then nothing will happen. //but you can show anything you want here, like your pop up saying wrong paste format or etc return true; } )