chore: fotmat the code and implement floating_toolbar
This commit is contained in:
parent
5f568f674a
commit
e64d829012
1 changed files with 126 additions and 37 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue