fancy_dialog 1.0.1 fancy_dialog: ^1.0.1 copied to clipboard
Custom Alert Dialog,inspired from FancyGifDialog for android,the new thing is that you can choose between 2 themes Fancy and Flat and you can load images and Gifs from your assets .
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fancy_dialog
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fancy_dialog: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fancy_dialog/fancy_dialog.dart';