This file contains 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
RaisedButton( | |
key: keys[2], | |
child: Text('Flare Giffy'), | |
onPressed: () { | |
showDialog( | |
context: context, | |
builder: (_) => FlareGiffyDialog( | |
key: keys[3], | |
flarePath: 'assets/space_demo.flr', | |
flareAnimation: 'loading', |
This file contains 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
class MyHomePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
String networkimg = | |
'https://cdn.dribbble.com/users/750517/screenshots/8574989/media/7610aa397363fdfe6f2daa1145493aee.gif'; | |
return Center( | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
RaisedButton( |
This file contains 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
assets: | |
- assets/rappi_basket.gif | |
- assets/space_demo.flr | |
fonts: | |
- family: Nunito | |
fonts: | |
- asset: assets/nunitoSemiBold.ttf | |
- asset: assets/nunitoBold.ttf | |
weight: 700 |
This file contains 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:flutter/material.dart'; | |
import 'package:giffy_dialog/giffy_dialog.dart'; | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
theme: ThemeData(fontFamily: 'Nunito'), | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( |
NewerOlder