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
692 stars 338 forks source link

How to avoid paste dialog #247

Closed abhilash007 closed 1 year ago

abhilash007 commented 2 years ago

How to avoid paste dialog

srujanm111 commented 2 years ago

This is not the best solution, but you can wrap in an AbsorbPointer to block gestures that cause the paste dialog

Memet18 commented 2 years ago

Also interested in this question

Memet18 commented 2 years ago

@adar2378 can you add the ability to remove the dialog box?

dennismuench commented 2 years ago

@abhilash007 If you just want to prevent pasting at all, you can use: beforeTextPaste: (_) => false

arbazadam commented 2 years ago

@dennismuench isn't there a way to avoid the dialog and just have the pasting functionality?

fedecarroz commented 2 years ago

@adar2378 is it possible to implement a way to paste the pin directly without showing the dialog?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.