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

Image position deviation #277

Open
bing6 opened this issue Aug 20, 2020 · 2 comments
Open

Image position deviation #277

bing6 opened this issue Aug 20, 2020 · 2 comments

Comments

@bing6
Copy link

bing6 commented Aug 20, 2020

image

import 'package:flare_flutter/flare_actor.dart';
import 'package:flutter/material.dart';

void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(Material(
child: MyHomePage(),
));
}

class MyHomePage extends StatefulWidget {
@OverRide
_MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State {
@OverRide
Widget build(BuildContext context) {
return new FlareActor("assets/Penguin.flr", alignment: Alignment.center, fit: BoxFit.contain, animation: "walk");
}
}

Do you have the same problems as me?

@zhangyc
Copy link

zhangyc commented Oct 14, 2020

me too

@umberto-sonnino
Copy link
Contributor

I just ran the snippet you posted, and it seems to be running correctly on my side.
What Flutter version are you using? Are you running the latest Flare-Flutter?

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

3 participants