浏览代码

Marked document argument required for ZefyrView

Anatoly Pulyaevskiy 6 年前
父节点
当前提交
11431ddcf1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      packages/zefyr/lib/src/widgets/view.dart

+ 2
- 2
packages/zefyr/lib/src/widgets/view.dart 查看文件

10
 import 'scope.dart';
10
 import 'scope.dart';
11
 import 'theme.dart';
11
 import 'theme.dart';
12
 
12
 
13
-/// Non-scrollable read-only view of a Notus rich text document.
13
+/// Non-scrollable read-only view of Notus rich text documents.
14
 class ZefyrView extends StatefulWidget {
14
 class ZefyrView extends StatefulWidget {
15
   final NotusDocument document;
15
   final NotusDocument document;
16
   final ZefyrImageDelegate imageDelegate;
16
   final ZefyrImageDelegate imageDelegate;
17
 
17
 
18
-  const ZefyrView({Key key, this.document, this.imageDelegate})
18
+  const ZefyrView({Key key, @required this.document, this.imageDelegate})
19
       : super(key: key);
19
       : super(key: key);
20
 
20
 
21
   @override
21
   @override