Last updated:
0 purchases
input with keyboard control
input_with_keyboard_control #
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!
Example #
Check example folder for code sample
Usage #
Follow the install guide
Import the library:
import 'package:input_with_keyboard_control/input_with_keyboard_control.dart';
copied to clipboard
Add InputWithKeyboardControl widget in your code as in the example below
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,
)
copied to clipboard
Thank you for using this package ❤️
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.