Skip to content
pubscout

cool_alert

2.0.1, released 4 years ago by an unverified publisher

Animated alert dialog widget for success, error, warning, confirm, and loading states

$ flutter pub add cool_alert
Source repository

What it does

CoolAlert provides a simple API to show animated alert dialogs in Flutter. It supports custom text, titles, widgets, and animations via Lottie or Flare.

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

Use it when

  • Need a quick success/error notification
  • Want a confirm dialog with custom animation
  • Implement a loading dialog with animation

Skip it when

  • Building complex multi-step forms inside a dialog
  • Requiring advanced dialog customization beyond provided props

Strengths

  • Easy to integrate with one line of code
  • Highly customizable animations and button behavior
  • Supports both Lottie and Flare animations

Weaknesses

  • Limited to single-purpose dialogs, no form support
  • No built-in support for nested navigation inside dialog
  • Requires manual handling of dialog dismissal logic

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
CoolAlert.show(
  context: context,
  type: CoolAlertType.success,
  text: "Your transaction was successful!",
);

Alternatives

Packages that do the same job and could replace cool_alert.

Works with

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