mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-27 02:07:12 +08:00
Fixes #15 and preps for publish.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user