在世麦C5000L上不管用,onEvent与onError无法被触发
Chen-Yong-Jie opened this issue · comments
Aiden commented
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 commented
@Chen-Yong-Jie 查看一下这两个参数是什么