perfect_keyboard 0.0.1
perfect_keyboard: ^0.0.1 copied to clipboard
The Perfect Keyboard package provides a customizable and interactive keyboard layout for Flutter applications. It includes support for multiple languages and advanced key management features, allowing [...]
0.0.1 #
Initial Release #
Features
-
Keyboard Management
SuperKeyboardKey: A comprehensive class representing a keyboard key with properties for value, position, special keys (shift, altGr), and neighboring keys (next, previous, top, bottom).LanguageFilesEnum: Maps supported languages to their respective JSON files for keyboard layouts.SpecialKeysEnum: Defines special keyboard keys (Space, Tab, Backspace, Caps Lock, Shift, Enter, Win, Menu) with their string representations.
-
JSON-based Keyboard Layout Loading
_loadKeyboard: Asynchronously loads keyboard layouts from JSON files, establishing the relationships between keys and their neighbors.getKeyboard: Retrieves the keyboard layout for a given locale using theLanguageFilesenum._handleLanguage: Maps locale to corresponding language file._isSpecialKey: Checks if a given key label corresponds to a special key defined in theSpecialKeysenum.
Improvements
- Ensured seamless integration of custom themes and color schemes within Flutter applications.
- Provided extensive support for various keyboard layouts based on different languages, enabling easy localization.
- Enhanced keyboard interaction with detailed key relationships and animation effects.
Bug Fixes
- Fixed issues related to custom color visibility across light and dark themes.
- Corrected key relationship mappings to ensure accurate neighboring key references in
SuperKeyboardKey.
This initial release sets the foundation for robust theme customization and keyboard management in Flutter applications, with a focus on flexibility and localization support.