Skip to content
pubscout

input_with_keyboard_control

1.0.8, released 5 years ago by an unverified publisher

An input field that controls virtual keyboard visibility without losing focus.

WASM-ready
$ flutter pub add input_with_keyboard_control
Source repository

What it does

The package provides a customizable input widget that allows developers to control whether the on-screen keyboard appears or stays hidden while keeping focus on the input field. It is designed specifically for hardware or external barcode scanner integrations.

AI-written summary of version 1.0.8, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building an app that uses a hardware barcode scanner and need the input to retain focus without popping up the software keyboard.
  • You need a text field with a built-in toggle button to show or hide the keyboard.

Skip it when

  • You are looking for a complete barcode scanning library using the device camera.
  • You need standard text input behavior without keyboard visibility control.

Strengths

  • Keeps input focus while suppressing the software keyboard
  • Includes customizable parameters for button colors, underlines, and keyboard states

Weaknesses

  • Limited to a single specific input control use case
  • Relatively old package with no recent updates post null-safety transition

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

none

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

Alternatives

Packages that do the same job and could replace input_with_keyboard_control.