Fixed the bug with backspace key.
This commit is contained in:
parent
6fee432a8b
commit
3ed592bd36
@ -13,3 +13,7 @@
|
||||
## [0.1.2] - 03/01/2019.
|
||||
|
||||
* Added alwaysCaps property and longPress for backspace.
|
||||
|
||||
## [0.1.3] - 03/01/2019.
|
||||
|
||||
* Fixed the bug with backspace key.
|
||||
|
@ -187,6 +187,9 @@ class _VirtualKeyboardState extends State<VirtualKeyboard> {
|
||||
return rows;
|
||||
}
|
||||
|
||||
// True if long press is enabled.
|
||||
bool longPress;
|
||||
|
||||
/// Creates default UI element for keyboard Key.
|
||||
Widget _keyboardDefaultKey(VirtualKeyboardKey key) {
|
||||
return Expanded(
|
||||
@ -212,9 +215,6 @@ class _VirtualKeyboardState extends State<VirtualKeyboard> {
|
||||
// Holds the action key widget.
|
||||
Widget actionKey;
|
||||
|
||||
// True if long press is enabled.
|
||||
bool longPress;
|
||||
|
||||
// Switch the action type to build action Key widget.
|
||||
switch (key.action) {
|
||||
case VirtualKeyboardKeyAction.Backspace:
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: virtual_keyboard
|
||||
description: A simple package for dispaying virtual keyboards on a devices like kiosks and ATMs. The library is written in Dart and has no native code dependancy.
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
author: Gurgen Hovhannisyan <g.hovhannisyan@digitalpomegranate.com>
|
||||
homepage: https://github.com/gurgenDP/virtual_keyboard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user