Commit a181749 1 parent 92aa1bc commit a181749 Copy full SHA for a181749
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_selection.dart' ;
@@ -72,7 +72,7 @@ class ParagraphComponentBuilder implements ComponentBuilder {
72
72
}
73
73
74
74
@override
75
- TextComponent ? createComponent (
75
+ Widget ? createComponent (
76
76
SingleColumnDocumentComponentContext componentContext, SingleColumnLayoutComponentViewModel componentViewModel) {
77
77
if (componentViewModel is ! ParagraphComponentViewModel ) {
78
78
return null ;
You can’t perform that action at this time.
0 commit comments