You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple animation with Rive of a red square moving across the screen to test out importing it into a Flutter app. I used "flutter create" in the terminal to create a fresh flutter project to test this out, and I was unable to get the Rive animation to display using FlareActor until I changed the sdk version in the pubspec.yaml file.
Tested on:
physical iPhone SE running iOS 13.3.1
simulator iPhone 11 running iOS 13.3
Flutter pubspec.yaml:
environment:
sdk: ">=2.1.0 <3.0.0" //FlareActor not displaying
I created a simple animation with Rive of a red square moving across the screen to test out importing it into a Flutter app. I used "flutter create" in the terminal to create a fresh flutter project to test this out, and I was unable to get the Rive animation to display using FlareActor until I changed the sdk version in the pubspec.yaml file.
Tested on:
Flutter pubspec.yaml:
environment:
sdk: ">=2.1.0 <3.0.0" //FlareActor not displaying
environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0" //FlareActor displaying
I made sure to keep the code as simple as possible to eliminate any potential errors. Here is my main.dart file:
Here is the full yaml file of the project with FlareActor not displaying:
Here is the full .yaml of the project with the FlareActor displaying:
The text was updated successfully, but these errors were encountered: