awesome_alert 1.2.0 copy "awesome_alert: ^1.2.0" to clipboard
awesome_alert: ^1.2.0 copied to clipboard

A highly customizable Flutter library for creating beautiful alerts, loading indicators, image dialogues, and list alerts with ease.

Features #

Modern and highly customizable alerts for Flutter.

  • Standard Alerts (Success, Info, Error, etc.)
  • Loading Indicators
  • Image Dialogues
  • List/Bulleted Alerts
  • Completely Custom Body support
  • Singleton Theme management

Images #

Simple example Custom example Loading Image

Getting started #

Add the dependency to your pubspec.yaml:

dependencies:
  awesome_alert: ^1.1.6

Import the package:

import 'package:awesome_alert/awesome_alert.dart';

Usage #

Simple Alert #

The modern way to show an alert is using the static show method.

AwesomeAlert.show(
  context,
  title: "Modern Alert",
  description: "This is using the new static API!",
  confirmText: "Cool!",
  confirmAction: () => Navigator.of(context).pop(),
);

Loading Alert #

AwesomeAlert.showLoading(context);

Image Alert #

AwesomeAlert.showImage(
  context,
  type: ImageType.imageFromWeb,
  path: "https://example.com/image.png",
);

Custom Alert #

AwesomeAlert.showCustom(
  context,
  body: MyCustomWidget(),
);

Examples #

Check the full example in the example/ folder.

Credits #

11
likes
150
points
266
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable Flutter library for creating beautiful alerts, loading indicators, image dialogues, and list alerts with ease.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_widget_from_html_core

More

Packages that depend on awesome_alert