From 387948a23976f015e51008090a2721f9cd6d1ea6 Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Tue, 11 Sep 2018 08:51:42 +0200 Subject: [PATCH] remove an avoid_void_async lint (#21672) --- packages/flutter/lib/src/rendering/editable.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/rendering/editable.dart b/packages/flutter/lib/src/rendering/editable.dart index 5ce80804695a9..1d09dc7bcc120 100644 --- a/packages/flutter/lib/src/rendering/editable.dart +++ b/packages/flutter/lib/src/rendering/editable.dart @@ -404,7 +404,7 @@ class RenderEditable extends RenderBox { // Handles shortcut functionality including cut, copy, paste and select all // using control + (X, C, V, A). - void _handleShortcuts(int pressedKeyCode) async { + Future _handleShortcuts(int pressedKeyCode) async { switch (pressedKeyCode) { case _kCKeyCode: if (!selection.isCollapsed) {