Flutter_Pinput
Flutter_Pinput copied to clipboard
A text error is not shown the first time when write the wrong sms code
Describe the bug A text error is not shown the first time when you write the wrong sms code, but second time error text exist also i get error text dynamically and pass it to errorText and validator params of PinPut
To Reproduce Steps to reproduce the behavior:
- Go to 'SMS verification screen after phone verification'
- Fill out all textfields with invalid numbers
- Expected to see error text
Screenshots If applicable, add screenshots to help explain your problem.
Pinput version: [e.g. 1.0.0]
3.0.1
Result of: flutter doctor --verbose
[β] Android toolchain - develop for Android devices (Android SDK version 33.0.2) β’ Android SDK at /Users/guvanch/Library/Android/sdk β’ Platform android-34, build-tools 33.0.2 β’ Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java β’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) β’ All Android licenses accepted.
[β] Xcode - develop for iOS and macOS (Xcode 15.1) β’ Xcode at /Applications/Xcode.app/Contents/Developer β’ Build 15C65 β’ CocoaPods version 1.12.1
[β] Chrome - develop for the web β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[β] Android Studio (version 2022.2) β’ Android Studio at /Applications/Android Studio.app/Contents β’ Flutter plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/9212-flutter β’ Dart plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/6351-dart β’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[β] VS Code (version 1.85.1) β’ VS Code at /Applications/Visual Studio Code.app/Contents β’ Flutter extension version 3.80.0
[β] Connected device (5 available) β’ JSN L21 (mobile) β’ MUENW18A09003141 β’ android-arm64 β’ Android 10 (API 29) β’ Guvanch Amanovβs iPhone (mobile) β’ 00008101-0019243C0A00801E β’ ios β’ iOS 17.2.1 21C66 β’ iPhone 15 Pro Max (mobile) β’ 5190CF27-5B51-4279-A346-F6FEA6848913 β’ ios β’ com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator) β’ macOS (desktop) β’ macos β’ darwin-arm64 β’ macOS 13.5 22G74 darwin-arm64 β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 120.0.6099.216
[β] Network resources β’ All expected network resources are available.
β’ No issues found! ...
Smartphone (please complete the following information):
- Device: [Honox 8x]
- OS: [Android 10]
Additional context
i can share code if it needed