-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
Description
I use RiveAnimation.asset show first animation,when I call setState change second asset,it showed empty。
But it work when I use RiveAnimation.network change url。
Here is my code:
`Column(
children: [
SizedBox(
width: 100,
height: 100,
child: RiveAnimation.asset(
isChange ? 'assets/rive/tab_home.riv' : 'assets/rive/tab_back.riv',
),
),
FilledButton(
onPressed: () {
setState(() {
isChange = !isChange;
});
},
child: Text('change'),
),
],
)`
rive: ^0.13.4
Flutter version 3.13.9