rich_alert

An alert dialog package for the "rich". This package helps you to render an un-traditional alert dialog in your Flutter app 😃

Adding to your flutter project

Add rich_alert as a dependency in your pubspec.yaml file

rich_alert: ^0.1.1

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: title("Alert title"),
      alertSubtitle: richSubtitle("Subtitle"),
      alertType: RichAlertType.WARNING,      
    );
  }
);

Check examples

Screenshots

Add screenshots here

Libraries

rich_alert