You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[✓] VS Code (version 1.78.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] VS Code (version 1.61.1)
• VS Code at /Users/alessiogoslino/Creative Cloud Files/DOWNLOAD01/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
Hey @alegos27, you are entering the 123456 and it's length is the same as Pinput's length, what happens is that when you call await tester.testTextInput.receiveAction(TextInputAction.done); the keyboard is already closed by Pinput so the onSumbitted callback is never called.
Describe the bug
During test seems onSubmitted callback does't work
To Reproduce
This is the result of test:
The following TestFailure was thrown running a test:
Expected: '123456'
Actual:
Which: not an <Instance of 'String'>
Pinput version: 2.2.31
Result of:
flutter doctor --verbose
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
• Android SDK at /Users/alessiogoslino/Library/Android/sdk
• Platform android-33, build-tools 33.0.0-rc4
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.12.1
[✓] Android Studio (version 2022.1)
• 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 11.0.15+0-b2043.56-8887301)
[✓] VS Code (version 1.78.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] VS Code (version 1.61.1)
• VS Code at /Users/alessiogoslino/Creative Cloud Files/DOWNLOAD01/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] Connected device (3 available)
• iPhone A (mobile) • 72f626bbeae9dcfe39118556c9a336436a6bb905 • ios • iOS 16.3.1 20D67
• iPhone 14 (mobile) • 8B1A7A9B-DF9F-47E5-9100-321E6FAD7AF6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
• iPhone 14 Pro (mobile) • FFB17208-8744-43C4-BF7E-354FF91F9539 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
[✓] Network resources
• All expected network resources are available.
• No issues found!
The text was updated successfully, but these errors were encountered: