Skip to content
pubscout

virtual_keyboard_custom_layout

1.0.1, released 2 years ago by an unverified publisher

A virtual keyboard widget with customizable layouts for devices lacking physical keyboards.

WASM-ready
$ flutter pub add virtual_keyboard_custom_layout
Source repository

What it does

Provides a customizable virtual keyboard widget written in Dart with support for numeric, alphanumeric, and custom layouts. It handles key press callbacks and special actions like backspace, return, shift, and space without requiring native code dependencies.

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

Use it when

  • Building kiosk or ATM interfaces that run on touchscreens without native keyboards
  • Creating custom on-screen keyboards with tailored layouts and key arrangements

Skip it when

  • Relying on built-in OS software keyboards for standard mobile text input

Strengths

  • No native code dependencies, pure Dart implementation
  • Allows custom layouts and custom key strings
  • Supports numeric, alphanumeric, and custom keyboard types

Weaknesses

  • Switch Language button functionality is not working out of the box according to documentation

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1
Container(
  color: Colors.grey,
  child: VirtualKeyboard(
    height: 350,
    width: 600,
    textColor: Colors.white,
    fontSize: 20,
    type: VirtualKeyboardType.Custom,
    keys: const [
      ["T", "E", "S", "T"],
      ["RETURN", "SHIFT", "BACKSPACE", "SPACE"],
    ],
    onKeyPress: (key) => print(key.text),
  ),
)

Alternatives

Packages that do the same job and could replace virtual_keyboard_custom_layout.

Works with

Packages commonly used together with virtual_keyboard_custom_layout: ones it builds on, ones built on it, and its own family.