Skip to content

Commit

Permalink
remove an avoid_void_async lint (flutter#21672)
Browse files Browse the repository at this point in the history
  • Loading branch information
a14n authored Sep 11, 2018
1 parent 774ca2f commit 387948a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/rendering/editable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 387948a

Please sign in to comment.