From a6f237b6115dd7ff7f211e0fe27f58ea947e1dee Mon Sep 17 00:00:00 2001 From: HayesGordon Date: Tue, 18 Jun 2024 18:21:15 +0000 Subject: [PATCH] Flutter release 0.13.8 Diffs= 61f935eed Flutter release 0.13.8 (#7407) Co-authored-by: Gordon --- .rive_head | 2 +- CHANGELOG.md | 4 ++++ lib/src/rive.dart | 1 + pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 3039170..6068be0 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -aca47ee5d72ae846469fb263ba2b37ff1bb816b7 +61f935eedc45f667f74ed7c7be2640d9a0880062 diff --git a/CHANGELOG.md b/CHANGELOG.md index 17f3319..23cb475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.13.8 +- Add `key` property to `Rive` widget. +- Nested linear animations report events up to parent artboards. Previously, only nested state machines could report events so that listeners in parent artboards could listen for them. + ## 0.13.7 - Add `getComponentWhereOrNull` on `Artboard`, to find a component that matches the given predicate. This can be used instead of `forEachComponent` as it allows exiting early. diff --git a/lib/src/rive.dart b/lib/src/rive.dart index e6e007e..297a866 100644 --- a/lib/src/rive.dart +++ b/lib/src/rive.dart @@ -96,6 +96,7 @@ class Rive extends LeafRenderObjectWidget { const Rive({ required this.artboard, + super.key, this.useArtboardSize = false, this.antialiasing = true, this.enablePointerEvents = false, diff --git a/pubspec.yaml b/pubspec.yaml index 386b1be..04afb3b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: rive -version: 0.13.7 +version: 0.13.8 homepage: https://rive.app description: Rive Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app. repository: https://github.com/rive-app/rive-flutter