Skip to content
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

在世麦C5000L上不管用,onEvent与onError无法被触发 #7

Open
Chen-Yong-Jie opened this issue Jun 21, 2020 · 1 comment
Open

Comments

@Chen-Yong-Jie
Copy link

class _MainPageState extends State with PdaListenerMixin {
var _code;
@OverRide
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Container(
child: TextField(
focusNode: new FocusNode(),
onEditingComplete: () {
print("回车");
},
onSubmitted: (value) {
print("值:" + value);
},
),
),
);
}

@OverRide
void onEvent(Object event) {
print(event);
}

@OverRide
void onError(Object error) {
print(error);
}
}

@wu9007
Copy link
Owner

wu9007 commented Aug 29, 2020

@Chen-Yong-Jie 查看一下这两个参数是什么
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants