Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
feat: remove unused imports
Vincent Chan0ba7c53dad5d
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dartindex 66c87a2dd4..4731542ae2 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/flowy_rich_text.dart@@ -255,6 +255,10 @@ class _FlowyRichTextState extends State<FlowyRichText> with Selectable {return Rect.zero;}+ Offset localToGlobal(Offset offset) {+ return _renderParagraph.localToGlobal(offset);+ }+TextSpan get _decorateTextSpanWithGlobalStyle => TextSpan(children: _textSpan.children?.whereType<TextSpan>()diff --git a/frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/arrow_keys_handler.dart b/frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/arrow_keys_handler.dartindex 30b295765e..3bc3f5e0b5 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/arrow_keys_handler.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/service/internal_key_event_handlers/arrow_keys_handler.dart@@ -2,7 +2,6 @@ import 'package:flowy_editor/document/node.dart';import 'package:flowy_editor/document/position.dart';import 'package:flowy_editor/service/keyboard_service.dart';import 'package:flowy_editor/document/selection.dart';-import 'package:flowy_editor/extensions/node_extensions.dart';import 'package:flutter/material.dart';import 'package:flutter/services.dart';