-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose option to configure package for FlareActor #245
Comments
The Image.asset(
'assets/image.png',
package: 'some_package',
)
// same as:
Image.asset(
'packages/some_package/assets/image.png',
) Thus, you can do the following: FlareActor(
'packages/some_package/assets/animation.flr',
) At least, until #246 is merged. 🙃 |
Any update on this? |
@littleGnAl You can use a Git dependency with ref |
@creativecreatorormaybenot Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should be able to set the package of an asset.
We are able to do this, for built-in Widgets, like (Image.asset) and external libraries, like (SvgPicture.asset).
We should also be able to use it for Flare.
Due to our usage of Add-to-App and custom test runner for the Flutter part, we have to load the assets from a package and can't load them from the app's assets.
The text was updated successfully, but these errors were encountered: