SimformSolutionsPvtLtd / flutter_credit_card

A credit card widget for Flutter application.
https://pub.dev/packages/flutter_credit_card
MIT License
424 stars 258 forks source link

Hello Sir,how to focusNode.unfocus() in CreditCardForm? #167

Closed kohtet436 closed 3 months ago

kohtet436 commented 4 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): -OS(e.g. iOS) -Browser(e.g. chrome, safari) -Version(e.g. 22)

Smartphone (please complete the following information): -Device(e.g. iPhone6) -OS(e.g. iOS8.1) -Browser(e.g. stock browser, safari) -Version(e.g. 22)

Additional context Add any other context about the problem here.

vatsaltanna-simformsolutions commented 4 months ago

@kohtet436 you can unfocus from any text field using this code : FocusScope.of(context).unfocus();