Skip to content

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

@Chen-Yong-Jie

Description

@Chen-Yong-Jie

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);
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions