Merge pull request #6 from BuddhiAbeyratneAL/master

Fix builder parameter
This commit is contained in:
Ahmed El-Araby 2022-07-07 09:14:07 +02:00 committed by GitHub
commit 32d6ec1e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ class _VirtualKeyboardState extends State<VirtualKeyboard> {
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<VirtualKeyboard> {
customLayoutKeys = widget.customLayoutKeys ??
VirtualKeyboardDefaultLayoutKeys(
widget.defaultLayouts ?? [VirtualKeyboardDefaultLayouts.English]);
builder = widget.builder;
onKeyPress = widget.onKeyPress;
height = widget.height;
textColor = widget.textColor;