diff --git a/packages/flutter/lib/src/rendering/editable.dart b/packages/flutter/lib/src/rendering/editable.dart index 5ce8080469..1d09dc7bcc 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) {