Bläddra i källkod

Removed implicit-casts lint; updated changelog

Anatoly Pulyaevskiy 5 år sedan
förälder
incheckning
b0ea68d403

+ 0
- 1
packages/notus/analysis_options.yaml Visa fil

@@ -1,6 +1,5 @@
1 1
 analyzer:
2 2
   strong-mode:
3
-    implicit-casts: false
4 3
     implicit-dynamic: false
5 4
 
6 5
 # Lint rules and documentation, see http://dart-lang.github.io/linter/lints

+ 4
- 3
packages/zefyr/CHANGELOG.md Visa fil

@@ -1,7 +1,8 @@
1
-## Unreleased
1
+## 0.5.0
2 2
 
3
-* Added non-scrollable `ZefyrView` widget which allows previewing Notus documents inside
4
-  layouts using their own scrollables like ListView.
3
+* Updated to support Flutter 1.2
4
+* Experimental: Added non-scrollable `ZefyrView` widget which allows previewing Notus documents
5
+  inside layouts using their own scrollables like ListView.
5 6
 * Breaking change: renamed `EditableRichText` to `ZefyrRichText`. User code is unlikely to be
6 7
   affected unless you've extended Zefyr with custom implementations of block widgets.
7 8
 * Breaking change: renamed `RenderEditableParagraph` to `RenderZefyrParagraph`. User code is

+ 0
- 1
packages/zefyr/analysis_options.yaml Visa fil

@@ -1,6 +1,5 @@
1 1
 analyzer:
2 2
   strong-mode:
3
-    implicit-casts: false
4 3
     implicit-dynamic: false
5 4
 
6 5
 # Lint rules and documentation, see http://dart-lang.github.io/linter/lints

+ 0
- 4
packages/zefyr/example/ios/Runner.xcodeproj/project.pbxproj Visa fil

@@ -8,7 +8,6 @@
8 8
 
9 9
 /* Begin PBXBuildFile section */
10 10
 		1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11
-		2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 11
 		3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 12
 		3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 13
 		3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -42,7 +41,6 @@
42 41
 /* Begin PBXFileReference section */
43 42
 		1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
44 43
 		1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
45
-		2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
46 44
 		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
47 45
 		3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
48 46
 		7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
@@ -85,7 +83,6 @@
85 83
 		9740EEB11CF90186004384FC /* Flutter */ = {
86 84
 			isa = PBXGroup;
87 85
 			children = (
88
-				2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
89 86
 				3B80C3931E831B6300D905FE /* App.framework */,
90 87
 				3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
91 88
 				9740EEBA1CF902C7004384FC /* Flutter.framework */,
@@ -213,7 +210,6 @@
213 210
 				3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
214 211
 				9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
215 212
 				97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
216
-				2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
217 213
 				97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
218 214
 			);
219 215
 			runOnlyForDeploymentPostprocessing = 0;

+ 2
- 0
packages/zefyr/lib/src/widgets/view.dart Visa fil

@@ -1,4 +1,5 @@
1 1
 import 'package:flutter/material.dart';
2
+import 'package:meta/meta.dart';
2 3
 import 'package:notus/notus.dart';
3 4
 
4 5
 import 'code.dart';
@@ -11,6 +12,7 @@ import 'scope.dart';
11 12
 import 'theme.dart';
12 13
 
13 14
 /// Non-scrollable read-only view of Notus rich text documents.
15
+@experimental
14 16
 class ZefyrView extends StatefulWidget {
15 17
   final NotusDocument document;
16 18
   final ZefyrImageDelegate imageDelegate;