Last active
December 15, 2019 11:51
-
-
Save sagarshende23/efbfc66346b33bcb98da60f24b2a2c77 to your computer and use it in GitHub Desktop.
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
//Asset Giffy Dialog | |
RaisedButton( | |
key: keys[4], | |
child: Text('Asset Giffy'), | |
onPressed: () { | |
showDialog( | |
context: context, | |
builder: (_) => AssetGiffyDialog( | |
key: keys[5], | |
image: Image.asset('assets/rappi_basket.gif'), | |
title: Text( | |
"Rappi Basket", | |
style: TextStyle( | |
fontSize: 22.0, | |
fontWeight: FontWeight.bold, | |
), | |
), | |
description: Text( | |
'This is theRappi Basket Dialog Box. This will help you to understand Asset Giffy Animation', | |
textAlign: TextAlign.center, | |
), | |
entryAnimation: EntryAnimation.TOP_LEFT, | |
onOkButtonPressed: (){}, | |
)); | |
}, | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment