Commit 31f3113 1 parent b3408b7 commit 31f3113 Copy full SHA for 31f3113
File tree 1 file changed +2
-2
lines changed
super_editor/lib/src/default_editor
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import 'package:attributed_text/attributed_text.dart' ;
2
- import 'package:flutter/painting.dart' ;
3
2
import 'package:flutter/services.dart' ;
3
+ import 'package:flutter/widgets.dart' ;
4
4
import 'package:super_editor/src/core/document.dart' ;
5
5
import 'package:super_editor/src/core/document_composer.dart' ;
6
6
import 'package:super_editor/src/core/document_layout.dart' ;
@@ -74,7 +74,7 @@ class ParagraphComponentBuilder implements ComponentBuilder {
74
74
}
75
75
76
76
@override
77
- TextComponent ? createComponent (
77
+ Widget ? createComponent (
78
78
SingleColumnDocumentComponentContext componentContext, SingleColumnLayoutComponentViewModel componentViewModel) {
79
79
if (componentViewModel is ! ParagraphComponentViewModel ) {
80
80
return null ;
You can’t perform that action at this time.
0 commit comments