RawKeyboardListener(
autofocus: true,
onKey: (event) {
if (event.runtimeType == RawKeyDownEvent) {
if (event.physicalKey == PhysicalKeyboardKey.enter) {
this.onClick('onClickLogin', null);
}
}
},
focusNode: FocusNode(),
child: Container(child:)
)
支持了RawKeyboardListener就可以点击tab进行切换