diff --git a/CHANGELOG.md b/CHANGELOG.md index 96e90e8..d308f10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/lib/src/keyboard.dart b/lib/src/keyboard.dart index 815fbe7..f498346 100644 --- a/lib/src/keyboard.dart +++ b/lib/src/keyboard.dart @@ -187,6 +187,9 @@ class _VirtualKeyboardState extends State { 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 { // 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: diff --git a/pubspec.yaml b/pubspec.yaml index 231d4cc..99a5199 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 homepage: https://github.com/gurgenDP/virtual_keyboard