remove an avoid_void_async lint (#21672)

This commit is contained in:
Alexandre Ardhuin
2018-09-11 08:51:42 +02:00
committed by GitHub
parent 774ca2f197
commit 387948a239

View File

@@ -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<void> _handleShortcuts(int pressedKeyCode) async {
switch (pressedKeyCode) {
case _kCKeyCode:
if (!selection.isCollapsed) {