From 853f6ca057d6fadb6aeaa9de6052c54ac18794e3 Mon Sep 17 00:00:00 2001 From: Kovacs Arthur Kraid Date: Fri, 1 Mar 2019 16:21:08 +0200 Subject: [PATCH 1/2] Fixing two small errors. --- README.md | 2 +- example/main.dart | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 852038d..774e565 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Lottie is a mobile library that parses [Adobe After Effects](http://www.adobe.co ## Current status -Achived rednering parity with lottie-android except for dash paths. +Achived rendering parity with lottie-android except for dash paths. All samples included render. Motorcycle has some issues still, but also has issues on lottie-android (due to using effects that aren't supported). diff --git a/example/main.dart b/example/main.dart index 03b5ccc..e0c378c 100644 --- a/example/main.dart +++ b/example/main.dart @@ -17,7 +17,6 @@ const List assetNames = const [ 'assets/favourite_app_icon.json', 'assets/preloader.json', 'assets/walkthrough.json', - 'assets/rrect.json', ]; void main() { From 8eea02102e00bf2a3b42729307eda45dc40c5af6 Mon Sep 17 00:00:00 2001 From: Kovacs Arthur Kraid Date: Fri, 1 Mar 2019 16:24:51 +0200 Subject: [PATCH 2/2] Remove type definition as it crashes the build. --- example/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.dart b/example/main.dart index e0c378c..6afb920 100644 --- a/example/main.dart +++ b/example/main.dart @@ -119,7 +119,7 @@ class _LottieDemoState extends State if (_controller.isAnimating) { if (_repeat) { _controller.forward().then( - (Null nul) => _controller.repeat()); + (nul) => _controller.repeat()); } else { _controller.forward(); }