Fixes #15 and preps for publish.

This commit is contained in:
Luigi Rosso
2020-10-02 15:56:43 -07:00
parent 6f1b2eeddc
commit 2e4a8ace85
9 changed files with 34 additions and 13 deletions

View File

@ -47,6 +47,7 @@ class _MyHomePageState extends State<MyHomePage> {
rootBundle.load('assets/off_road_car.riv').then(
(data) async {
var file = RiveFile();
// Load the RiveFile from the binary data.
var success = file.import(data);
if (success) {