|
@@ -23,14 +23,14 @@ void main() {
|
23
|
23
|
setUp(() {
|
24
|
24
|
WidgetsFlutterBinding.ensureInitialized();
|
25
|
25
|
renderContext = ZefyrRenderContext();
|
26
|
|
- final rt = RenderEditableParagraph(
|
|
26
|
+ final rt = RenderZefyrParagraph(
|
27
|
27
|
text,
|
28
|
|
- node: doc.root.children.first,
|
|
28
|
+ node: doc.root.children.first as LineNode,
|
29
|
29
|
textDirection: TextDirection.ltr,
|
30
|
30
|
);
|
31
|
31
|
p = RenderEditableProxyBox(
|
32
|
32
|
child: rt,
|
33
|
|
- node: doc.root.children.first,
|
|
33
|
+ node: doc.root.children.first as LineNode,
|
34
|
34
|
layerLink: LayerLink(),
|
35
|
35
|
renderContext: renderContext,
|
36
|
36
|
showCursor: ValueNotifier<bool>(true),
|