Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created December 5, 2018 11:56
Show Gist options
  • Save tunitowen/560cc3e6aed2eb2cbbcc6a1de14cf322 to your computer and use it in GitHub Desktop.
Save tunitowen/560cc3e6aed2eb2cbbcc6a1de14cf322 to your computer and use it in GitHub Desktop.
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: FlareActor("assets/heart.flr", alignment:Alignment.center, fit:BoxFit.contain, animation: "heart",),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment