mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix analysis problems
This commit is contained in:
parent
930ad26155
commit
759c10faca
@ -1,5 +1,4 @@
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
import 'package:appflowy_editor/src/service/shortcut_event/shortcut_event_handler.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
|
@ -139,15 +139,3 @@ class _AppFlowyKeyboardState extends State<AppFlowyKeyboard>
|
||||
return onKey(event);
|
||||
}
|
||||
}
|
||||
|
||||
extension on RawKeyEvent {
|
||||
Keybinding get toKeybinding {
|
||||
return Keybinding(
|
||||
isAltPressed: isAltPressed,
|
||||
isControlPressed: isControlPressed,
|
||||
isMetaPressed: isMetaPressed,
|
||||
isShiftPressed: isShiftPressed,
|
||||
keyLabel: logicalKey.keyLabel,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,8 @@
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
import 'package:appflowy_editor/src/service/input_service.dart';
|
||||
import 'package:appflowy_editor/src/service/keyboard_service.dart';
|
||||
import 'package:appflowy_editor/src/service/render_plugin_service.dart';
|
||||
import 'package:appflowy_editor/src/service/scroll_service.dart';
|
||||
import 'package:appflowy_editor/src/service/selection_service.dart';
|
||||
import 'package:appflowy_editor/src/service/toolbar_service.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user