input_with_keyboard_control 1.0.1 input_with_keyboard_control: ^1.0.1 copied to clipboard
The package provides an input that you can control whether the keyboard will show or not
input_with_keyboard_control #
The package provides an input that you can control whether the keyboard will show or not without losing focus
Example #
Usage #
- Follow the install guide
- Import the library:
import 'package:input_with_keyboard_control/input_with_keyboard_control.dart';
- Add InputWithKeyboardControl widget in your code as in the example below
InputWithKeyboardControl(
focusNode: InputWithKeyboardControlFocusNode(),
onSubmitted: (valor) {
print(valor);
},
autofocus: true,
controller: TextEditingController(),
width: 300,
showKeyboard: false
)