rich_alert 0.1.32 rich_alert: ^0.1.32 copied to clipboard
Flutter Alert Dialogs for the "rich". Used for rendering beautiful untraditional alert dialogs in Flutter apps.
rich_alert #
An alert dialog package for the "rich". This package helps you to render an un-traditional alert dialog in your Flutter app 😃
Support #
This package supports usage on both Android and iOS builds.
Adding to your flutter project #
Add rich_alert
as a dependency in your pubspec.yaml file
rich_alert: ^0.1.32
Use the package #
Import the library in your dart file
import 'package:rich_alert/rich_alert.dart';
Example #
showDialog(
context: context,
builder: (BuildContext context) {
return RichAlertDialog( //uses the custom alert dialog
alertTitle: richTitle("Alert title"),
alertSubtitle: richSubtitle("Subtitle"),
alertType: RichAlertType.WARNING,
);
}
);
Check examples
Screenshots #