Browse Source

Fixed class name after merge

Anatoly Pulyaevskiy 6 years ago
parent
commit
252a53809f

+ 3
- 3
packages/zefyr/test/rendering/render_editable_proxy_box_test.dart View File

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