A Flutter package that provides a customizable virtual keyboard with multiple language support.
- Custom virtual keyboard with English and Russian language support
- Floating keyboard overlay
- Active/Passive keyboard state indicators
- Shift key functionality for special characters
- Arrow key navigation
- Backspace and submit buttons
- Add the package to your pubspec.yaml:
dependencies:
input_virtual_keyboard: ^0.0.1- Add the keyboard icons to your assets:
Create an assets directory in your package and add two icons:
active_keyboard.png: The keyboard icon when the virtual keyboard is activepassive_keyboard.png: The keyboard icon when the virtual keyboard is inactive
The recommended size for the keyboard icons is 24x24 pixels.
TextInput(
name: 'my_input',
hint: 'Enter text',
useCustomKeyboard: true, // Enable/disable custom keyboard
nextAction: true, // Show next action button
)Place the following files in your assets directory:
-
active_keyboard.png:
- Size: 24x24 pixels
- Color: #2196F3 (Blue)
- Description: Keyboard icon with a filled/solid style
-
passive_keyboard.png:
- Size: 24x24 pixels
- Color: #9E9E9E (Grey)
- Description: Keyboard icon with an outline style
You can use any keyboard icon design that matches your app's theme, but make sure to maintain the naming convention and place them in the assets directory.
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.