Skip to content
pubscout

giffy_dialog

2.3.0, released 2 years ago by xdsahil.dev

Quick and customizable giffy dialogs and bottom sheets with image, Rive, or Lottie animations.

WASM-ready
$ flutter pub add giffy_dialog
Source repository

What it does

Provides ready-to-use alert dialogs and bottom sheets styled with custom headers powered by images, Rive animations, or Lottie animations, along with flexible actions and titles.

AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to display visually engaging alert dialogs with animations or illustrations.
  • You need modal bottom sheets featuring Rive, Lottie, or image headers.

Skip it when

  • You only need standard platform-styled alert dialogs without decorative graphical headers.
  • You require complex state management solutions within your dialogs.

Strengths

  • Supports multiple animation formats out of the box including Rive and Lottie.
  • Provides both dialog and bottom sheet variants with Material 2 and Material 3 support.

Weaknesses

  • Relies on external animation packages which might increase app size if not used elsewhere.
  • Migration from version 1 to 2 involves breaking API changes.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
showDialog(
  context: context,
  builder: (BuildContext context) {
    return GiffyDialog.image(
      Image.network(
        "https://raw.githubusercontent.com/Shashank02051997/FancyGifDialog-Android/master/GIF's/gif14.gif",
        height: 200,
        fit: BoxFit.cover,
      ),
      title: const Text('Image Animation'),
      content: const Text('This is an image animation dialog box.'),
      actions: [
        TextButton(
          onPressed: () => Navigator.pop(context, 'OK'),
          child: const Text('OK'),
        ),
      ],
    );
  },
);

Alternatives

Packages that do the same job and could replace giffy_dialog.

  • sheet

    A fully customizable draggable bottom sheet for Flutter.

  • rubber

    Elastic bottom sheet widget with customizable spring animation.

  • animated_emoji

    Widget that displays animated emojis from the Noto Animated Emoji set

  • unified_popups

    Unified overlay popup system for Flutter offering toast, loading, confirm, sheet, menu and more without needing a BuildContext.

Works with

Packages commonly used together with giffy_dialog: ones it builds on, ones built on it, and its own family.