Skip to content
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

The animation never start #64

Closed
fernandolop opened this issue Apr 3, 2019 · 2 comments
Closed

The animation never start #64

fernandolop opened this issue Apr 3, 2019 · 2 comments

Comments

@fernandolop
Copy link

My flare animation never appears. The screen are blank.

Pubspec:
flare_flutter: ^1.3.6

assets:

  • assets/OpacityLogo.flr

main.dart:
FlareActor("OpacityLogo.flr", alignment:Alignment.center, fit:BoxFit.contain, animation: "resortesCar"))

Animation: https://www.2dimensions.com/a/Fernando/files/flare/opacitylogo

can anybody help me?

Thanks.
Google translate.

@umberto-sonnino
Copy link
Contributor

Hey fernando, thanks for the report!
I've tested your file on this end, but everything seems to be running as expected.

Could you provide more details of your Flutter widget layout?

@fernandolop
Copy link
Author

Hi Umberto:
This is my code:
return Scaffold(
appBar: AppBar(
title: Text("Flare Test"),
centerTitle: true,
),
body: ListView(
children: [
Container(
height: 500,
child: FlareActor("assets/OpacityLogo.flr",
alignment: Alignment.center,
fit: BoxFit.contain,
animation: "resortesCar"),
)
],
),
);

Thanks for help me!
image

Thanks for help me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants