input_with_keyboard_control 1.0.8 copy "input_with_keyboard_control: ^1.0.8" to clipboard
input_with_keyboard_control: ^1.0.8 copied to clipboard

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!

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 #


  1. Follow the install guide

  1. Import the library:
import 'package:input_with_keyboard_control/input_with_keyboard_control.dart';

  1. 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,
)



Thank you for using this package ❤️


33
likes
140
pub points
85%
popularity

Publisher

unverified uploader

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!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on input_with_keyboard_control