widgets library

Widget-focused APIs for virtual_keypad.

Import this library when you want the scoped widget workflow: VirtualKeypadScope, VirtualKeypadTextField, VirtualKeypadController, and VirtualKeypad.

This library is useful when you want tighter focus routing, input-action callbacks, system keyboard blocking, and widget-level customization without importing every layout symbol from the main package entrypoint.

Classes

VirtualKey
Represents a single key on the virtual keyboard.
VirtualKeypad
A customizable virtual on-screen keyboard widget.
VirtualKeypadController
A controller for VirtualKeypadTextField that provides text manipulation methods.
VirtualKeypadScope
Manages the connection between VirtualKeypadTextField widgets and VirtualKeypad.
VirtualKeypadScopeState
State for VirtualKeypadScope.
VirtualKeypadStandaloneScope
Scopes a VirtualKeypad in standalone mode to only respond to text fields within its subtree.
VirtualKeypadStandaloneScopeState
State for VirtualKeypadStandaloneScope.
VirtualKeypadTextField
A text field that integrates with VirtualKeypad through VirtualKeypadScope.
VirtualKeypadTheme
Theme configuration for VirtualKeypad appearance.
VkpColors
Default color constants for VirtualKeypadTheme.

Enums

KeyAction
Actions that can be performed by special keys on the keyboard.
KeyboardType
Keyboard input types that determine the layout shown.
KeyType
The type of a virtual keyboard key.
LayoutStage
Current layout stage for keyboards with multiple pages.

Typedefs

KeyboardLayout = List<KeyRow>
A complete keyboard layout consisting of multiple rows.
KeyRow = List<VirtualKey>
A row of keys in a keyboard layout.