adar2378 / pin_code_fields

A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs 🤓🤓
https://pub.dev/packages/pin_code_fields
MIT License
677 stars 330 forks source link

Add a boolean flag to allow showing/hiding the paste confirmation dialog #369

Closed cmoralesweb closed 2 months ago

cmoralesweb commented 5 months ago

Fixes https://github.com/adar2378/pin_code_fields/issues/368

Eleanadaoud commented 3 months ago

@adar2378 Hello, is this expected to be merged?

escamoteur commented 2 months ago

it seems unfortunately that @adar2378 is too busy with other stuff we would need this too

adar2378 commented 2 months ago

Hi guys, I am sorry for being busy. I had a look at the PR, @cmoralesweb my question is could beforeTextPaste method can return false to not trigger the dialog as well I think. Could you check if we really need another field for this or could the beforeTextPaste method returning false is good enough.

Ah I understood the problem. Thanks.

adar2378 commented 2 months ago

Actually I started to work on contextMenu building directly instead of the custom dialog. But did not get a chance to finish it yet. After finishing we could get rid of the dialog.