Last active
June 10, 2019 08:53
-
-
Save timbergus/57bbd27512ef5f7ce0090a27f1337b00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flare_flutter/flare_actor.dart'; | |
[...] | |
Future<Map> getData(double latitude, double longitude) async { | |
[...] | |
@override | |
Widget build(BuildContext context) { | |
[...] | |
Container( | |
height: 250, | |
child: FlareActor( | |
'assets/animations/cloudy.flr', | |
alignment: Alignment.center, | |
fit: BoxFit.contain, | |
animation: 'get_cloudy', | |
), | |
), | |
[...] | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment