소스 검색

chore: fix flutter analyze

Lucas.Xu 2 년 전
부모
커밋
c127fd28b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart

+ 1 - 1
frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart

@@ -83,7 +83,6 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
         children: [
           GestureDetector(
             key: iconKey,
-            child: icon,
             behavior: HitTestBehavior.opaque,
             onTap: () async {
               await widget.editorState.formatTextToCheckbox(
@@ -92,6 +91,7 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
                 textNode: widget.textNode,
               );
             },
+            child: icon,
           ),
           Flexible(
             child: FlowyRichText(