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

设置系统键盘的 textInputAction: TextInputAction.next,点击next 呼不起自定义键盘 #84

Open
lionnner opened this issue Aug 31, 2022 · 4 comments

Comments

@lionnner
Copy link

如CustomKeyboardDemo中的:
TextField(
controller: textEditingController,
keyboardType: TextInputType.text,
textInputAction: TextInputAction.next,
),

@Im-Kevin
Copy link
Owner

doneAction(){
CoolKeyboard.sendPerformAction(TextInputAction.done);
}

有没有调用这个方法,请把具体代码列出来

@Im-Kevin
Copy link
Owner

最好能配合一个例子

@lionnner
Copy link
Author

就用example中的custom_keyboard.dart
ListView(
children: [
TextField(
controller: textEditingController,
keyboardType: TextInputType.text,
textInputAction: TextInputAction.next,
),
....

@lionnner
Copy link
Author

Simulator.Screen.Recording.-.iPhone.12.Pro.-.2022-08-31.at.15.45.46.mp4

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