ahmed-eg / virtual_keyboard_multi_language

Flutter Virtual Keyboard
MIT License
19 stars 45 forks source link

Custom Icons #1

Open DowsingUK opened 3 years ago

DowsingUK commented 3 years ago

Any way to customize shift icon, return icon...

arnirichard commented 2 years ago

I was looking at the source code and to answer this question you can pass a builder function to VirtualKeyboard that will create the key widget

soumas commented 2 months ago

I'm going to use the virtual keyboard for a project where the language-toggler should not switch between different languages, but between two layouts ("german characters" and "special characters"). For this reason I would like to replace the "switchLanguage" icon. Rewriting the whole builder function seems a little bit overkill for this task.

@ahmed-eg I would extend the VirtualKeyboard widget with the optional parameter Map<VirtualKeyboardKeyAction, IconData>? keyActionIcons if that's ok? I will only do this if you merge the code, otherwise I leave the globe symbol.