chore: fix flutter analyze

This commit is contained in:
Lucas.Xu 2022-11-30 13:23:03 +08:00
parent d7783a6440
commit c127fd28b8

View File

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