Skip to content

Instantly share code, notes, and snippets.

@sagarshende23
Last active December 15, 2019 11:52
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/d7862f7da40755bdb9942c35f50cd8e5 to your computer and use it in GitHub Desktop.
Save sagarshende23/d7862f7da40755bdb9942c35f50cd8e5 to your computer and use it in GitHub Desktop.
RaisedButton(
key: keys[2],
child: Text('Flare Giffy'),
onPressed: () {
showDialog(
context: context,
builder: (_) => FlareGiffyDialog(
key: keys[3],
flarePath: 'assets/space_demo.flr',
flareAnimation: 'loading',
title: Text(
"Planet Reloading",
style: TextStyle(
fontSize: 22.0,
fontWeight: FontWeight.bold,
),
),
description: Text(
'This is the PLanet Reloading Dialog Box. This will help you to understand Flare 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