File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ class _FeaturedEditorState extends State<FeaturedEditor> {
52
52
_composer = MutableDocumentComposer (
53
53
initialSelection: DocumentSelection .collapsed (
54
54
position: DocumentPosition (
55
- nodeId: _doc.nodes. last.id, // Place caret at end of document
56
- nodePosition: (_doc.nodes. last as TextNode ).endPosition,
55
+ nodeId: _doc.last.id, // Place caret at end of document
56
+ nodePosition: (_doc.last as TextNode ).endPosition,
57
57
),
58
58
),
59
59
);
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ dependencies:
16
16
super_text_layout : ^0.1.0
17
17
url_launcher :
18
18
19
+ dependency_overrides :
20
+ super_text_layout :
21
+ path : ../super_text_layout
22
+
19
23
dev_dependencies :
20
24
flutter_test :
21
25
sdk : flutter
You can’t perform that action at this time.
0 commit comments