remove an avoid_void_async lint (#21672)
This commit is contained in:
parent
774ca2f197
commit
387948a239
@ -404,7 +404,7 @@ class RenderEditable extends RenderBox {
|
|||||||
|
|
||||||
// Handles shortcut functionality including cut, copy, paste and select all
|
// Handles shortcut functionality including cut, copy, paste and select all
|
||||||
// using control + (X, C, V, A).
|
// using control + (X, C, V, A).
|
||||||
void _handleShortcuts(int pressedKeyCode) async {
|
Future<void> _handleShortcuts(int pressedKeyCode) async {
|
||||||
switch (pressedKeyCode) {
|
switch (pressedKeyCode) {
|
||||||
case _kCKeyCode:
|
case _kCKeyCode:
|
||||||
if (!selection.isCollapsed) {
|
if (!selection.isCollapsed) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user