chore: fotmat the code and implement floating_toolbar

This commit is contained in:
Lucas.Xu 2023-04-28 13:33:13 +08:00
commit e64d829012

View file

@ -111,9 +111,9 @@ class TestableEditor {
_editorState.document.addParagraph(initialText: '');
}
Future<void> updateSelection(Selection? selection) {
Future<void> updateSelection(Selection? selection) async {
_editorState.selection = selection;
return tester.pumpAndSettle();
await tester.pumpAndSettle();
}
Node? nodeAtPath(Path path) {