v1.0.8
input_with_keyboard_control
该包提供了一个输入框,您可以控制键盘是否显示,而不会丢失焦点,非常适合与条形码扫描仪一起使用!
35喜欢 335近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
该包提供了一个输入框,您可以控制键盘是否显示
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
The package provides an input that you can control whether the keyboard will show or not without losing focus, ideal for use with a barcode scanner!
import 'package:input_with_keyboard_control/input_with_keyboard_control.dart';
InputWithKeyboardControl(
focusNode: InputWithKeyboardControlFocusNode(),
onSubmitted: (value) {
print(value);
},
autofocus: true,
controller: TextEditingController(),
width: 300,
startShowKeyboard: false,
buttonColorEnabled: Colors.blue,
buttonColorDisabled: Colors.black,
underlineColor: Colors.black,
showUnderline: true,
showButton: true,
)
Thank you for using this package :heart: