Skip to content

Instantly share code, notes, and snippets.

@sagarshende23
Last active December 15, 2019 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarshende23/efbfc66346b33bcb98da60f24b2a2c77 to your computer and use it in GitHub Desktop.
Save sagarshende23/efbfc66346b33bcb98da60f24b2a2c77 to your computer and use it in GitHub Desktop.
//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