Questions tagged [rive]

Rive is a real-time interactive design tool that allows you to design, animate, and integrate your assets into any platform. Rive was formerly known as Flare.

102 questions
1
vote
1 answer

_TypeError (type 'Null' is not a subtype of type 'SMIBool' in type cast)

I'm building a Flutter app importing the Rive package. I've found a set of animated icons which I implemented in the app's sidebar. I tried creating my animated icon (folder) by copying exactly the package downloaded "style". The sidebar is…
1
vote
0 answers

Flutter RiveAnimation.asset doesn't update after a setState()

Flutter RiveAnimation.asset doesn't update after a setState() After switching from 'light' mode to 'dark' mode the setState() in the main file is called and certain widgets are built again. One of these widgets contains these lines of…
Gio
  • 11
  • 3
1
vote
0 answers

Rive animation is not working on flutter web with Firebase hosting

I have added Rive animation to my flutter project under assets/rive/ (https://prnt.sc/d2qorEjp1itB) but when I deploy the app on firebase hosting its not working. Working on local host. I was looking for a solution and find that the possible issue…
1
vote
0 answers

Rive Animation.asset stop animating after setState

I want to use a Rive to make animated icons in NavigationBar. I have a NavigationBar widget in StatefulWidget. When I call setState, destinations (in NavigationBar) is redrawn and the Rive animation is interrupted and flickers. How to use a Rive…
nehex
  • 11
  • 2
1
vote
1 answer

How to create a 3d animation using flutter?

I am creating a Flutter app and need to insert multiple 3d models and have them translate across each other simultaneously. Are there any 3d party resources I can use since I don't think flutter supports it without any 3d party service, maybe…
Steve
  • 103
  • 1
  • 2
  • 8
1
vote
0 answers

Flutter how to change rive animation size?

I have tried covering the rive animation widget with many widgets but the animations still remains big no matter what i do, how can i change the animation size here is the code height: 50, width: 50, …
hiwa jalal
  • 11
  • 2
1
vote
0 answers

How to make play an animation from current frame until N seconds en Rive

I have an animation and an input, I want to play my animation N seconds from current frame every time my input change his value I was using scrub function but that only jumps between frames, that help to has controll over the animation but it seem…
elVengador
  • 299
  • 3
  • 10
1
vote
1 answer

Blazor WASM - JS(rive app) is not being re-rendered after default navigating

I have issue with re-rendering rive animation after I leave default page "/". When I return back (/counter -> /) animation is not displayed anymore but js modul is being called in the code so I am not sure how can I deal with this problem. here is a…
Laftek
  • 33
  • 3
1
vote
0 answers

Using rive animation in flutter uses lots of Graphics memory

I tried to develop an application and was warming up all the rives files on app launch so that the rive animations could play properly. But during the gameplay, as you see more and more rive animation it was consuming more graphics memory (checked…
1
vote
1 answer

How to add a rive animation inside a column?

My question is about this animation in Rive: https://editor.rive.app/preview/3121-6585-pomoworko-letter/578885mode=animate&artboard=New%20Artboard&animation=State%20Machine%201 I want to add that animation here: I looked up the rive documentation,…
lomipac
  • 571
  • 8
  • 18
1
vote
1 answer

Flutter RiveAnimation with custom Controller

I'm using this character animation in my Flutter app (with the animated background): https://rive.app/community/1201-5354-lumberjack-walk-cycle/ (if you hit download on that link you will only get the character animation without the background. to…
Lara
  • 84
  • 1
  • 7
  • 30
1
vote
1 answer

How to keep the state of rive animation in flutter

I have added a rive ❤️ heart animation to a iconButton in flutter. when I tap on it, it animates from Unlike > Like and when I tapped again it animates backwards. Which is perfectly working. But the thing is, when I close the page and reopen the…
Vihanga Randunu
  • 391
  • 4
  • 15
1
vote
1 answer

How to toggle rive animation when tapped on the animation in flutter

I am a beginner to rive and flutter. I am building a favorite items page in flutter. If there are not anything added to favorites I need to show a riveAnimation on screen. I already implemented almost everything to show the animation on screen. But…
Vihanga Randunu
  • 391
  • 4
  • 15
1
vote
1 answer

How to show Rive animation in flutter?

I'm trying to show an animation from my riv flare. It was really simple in FlareActor and flr file. But can't show my animation with riv. I have 2 animations in my riv file. They are anim1 and anim2. I'm trying to show anim1 as default. Then trying…
bdre
  • 51
  • 5
1
vote
2 answers

How can I use Rive animations in a WPF / XAML project?

I have a *.rive file and I want to use that in my WPF app like a loading spinner. There is any way to use rive file in WPF using Image, Media Element etc. Do I need to convert it as gif?
Udin M
  • 51
  • 5