From 31f6a3bb27c634a8af01e14e7336c30c6815bcc2 Mon Sep 17 00:00:00 2001 From: Gui Meira Date: Thu, 4 Jun 2020 00:34:42 -0300 Subject: [PATCH] Fix builder parameter --- lib/src/keyboard.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/keyboard.dart b/lib/src/keyboard.dart index f9b9ede..ca0d55c 100644 --- a/lib/src/keyboard.dart +++ b/lib/src/keyboard.dart @@ -124,6 +124,7 @@ class _VirtualKeyboardState extends State { super.didUpdateWidget(oldWidget); setState(() { type = widget.type; + builder = widget.builder; onKeyPress = widget.onKeyPress; height = widget.height; width = widget.width; @@ -151,6 +152,7 @@ class _VirtualKeyboardState extends State { customLayoutKeys = widget.customLayoutKeys ?? VirtualKeyboardDefaultLayoutKeys( widget.defaultLayouts ?? [VirtualKeyboardDefaultLayouts.English]); + builder = widget.builder; onKeyPress = widget.onKeyPress; height = widget.height; textColor = widget.textColor;