-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: FocusTrapArea isn't defined for the class '_PinputState'. #98
Comments
Flutter 3.1.0-0.0.pre.2002 • channel master • https://github.com/flutter/flutter.git Running flutter doctor... |
Looks like the issue is related to master channel, could you try if it's working on stable? |
你切换到稳定版本就好,3.0.5这个版本中是有FocusTrapArea这个组件的,希望对你有帮助 |
any update on the issue |
Are you using Stable Flutter channel? |
By this PR Here is the patch and you can directly depend on it if you are using Flutter master channel
|
any update on this issue?? |
|
Is this problem solved? |
|
this error /C:/Users/REZA/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/pinput-2.2.12/lib/src/pinput_state.dart:337:14: Error: The method 'FocusTrapArea' isn't defined for the class '_PinputState'.
[√] Flutter (Channel master, 3.4.0-19.0.pre.58, on Microsoft Windows [Version 10.0.19044.1889], locale en-US) |
Switch to stable channel or use
|
Thankful |
@Messhias good luck with using another package, and for the record pinput works fine with every stable version > 2.0.0 By this PR Here is the patch and you can directly depend on it if you are using Flutter master channel
|
It doesn't, I already tried to do that, and didn't work out.
Thanks anyway the other package works well for me.
Em ter., 4 de out. de 2022 às 14:22, Tornike ***@***.***>
escreveu:
… @Messhias <https://github.com/Messhias> good luck with using another
package, and for the record pinput works fine with every stable version >
2.0.0
By this PR <flutter/flutter#107262> FocusTrapArea
was replaced with TapRegion on master branch of the Flutter repository,
and I'll replace it as well after merging it to stable branch.
Here is the patch and you can directly depend on it if you are using
Flutter master channel
pinput:
git:
url: https://github.com/Tkko/Flutter_Pinput
ref: dev
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI3QQ7A5PBCELBALB4RRL3WBQVPVANCNFSM55ECCR2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
As you can see |
People are quick to complain, this did not even reach stable on the flutter channel. You have the patience of a saint. Anyway, please update here if you don't mind when this reach pub.dev, so we don't forget to change the hardcoded dependency |
pub.flutter-io.cn/pinput-2.2.11/lib/src/pinput_state.dart:334:14: Error: The method 'FocusTrapArea' isn't defined for the class '_PinputState'.
The text was updated successfully, but these errors were encountered: