standalone library
Standalone-mode APIs for virtual_keypad.
Import this library when you want to attach VirtualKeypad to standard Flutter TextField or TextFormField widgets without using VirtualKeypadScope and VirtualKeypadTextField.
Included Surface
- VirtualKeypad for the keyboard widget itself
- VirtualKeypadStandaloneScope to limit standalone behavior to a subtree
- StandaloneInputControl for advanced text-input interception use cases
- Layout and theming types needed for custom standalone keyboards
Classes
- KeyboardLanguage
- Defines all keyboard layouts for a specific language.
- KeyboardLayoutProvider
- Manages keyboard languages and provides access to layouts.
- KeyboardLayoutSet
- A complete set of keyboard layouts for a specific input type.
- StandaloneInputControl
- A TextInputControl that intercepts Flutter's text input system, allowing VirtualKeypad to work with any standard TextField or TextFormField without requiring VirtualKeypadScope.
- VirtualKey
- Represents a single key on the virtual keyboard.
- VirtualKeypad
- A customizable virtual on-screen keyboard widget.
- VirtualKeypadStandaloneScope
- Scopes a VirtualKeypad in standalone mode to only respond to text fields within its subtree.
- VirtualKeypadStandaloneScopeState
- State for VirtualKeypadStandaloneScope.
- 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.
Functions
-
initializeKeyboardLayouts(
) → void - Initialize the provider with default languages.
Typedefs
-
KeyboardLayout
= List<
KeyRow> - A complete keyboard layout consisting of multiple rows.
-
KeyRow
= List<
VirtualKey> - A row of keys in a keyboard layout.