Preparing for pub

This commit is contained in:
Luigi Rosso
2020-11-17 16:04:42 -08:00
parent 8e1718c7bd
commit 39eddb4fd6
4 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ class _MyHomePageState extends State<MyHomePage> {
// Load the animation file from the bundle, note that you could also
// download this. The RiveFile just expects a list of bytes.
rootBundle.load('assets/off_road_car.riv').then(
rootBundle.load('assets/animation_playground.riv').then(
(data) async {
final file = RiveFile();
@ -52,7 +52,7 @@ class _MyHomePageState extends State<MyHomePage> {
final artboard = file.mainArtboard;
// Add a controller to play back a known animation on the main/default
// artboard.We store a reference to it so we can toggle playback.
artboard.addController(_controller = SimpleAnimation('idle'));
artboard.addController(_controller = SimpleAnimation('Untitled 1'));
setState(() => _riveArtboard = artboard);
}
},