Skip to content

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

License

Notifications You must be signed in to change notification settings

thedejifab/rich_alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published