Search packages, repositories and app categories

GitHub repositorythedejifab/rich_alert

rich_alert

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

rich_alert project cover
Stars
51
Forks
13
Last push (UTC)
Jun 2, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

rich_alert

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

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

Ayodeji Fabusuyi GitHub avatar
GitHub author

Ayodeji Fabusuyi ↗

dev

Lagos, Nigeria.
LanguagesDartObjective-CJava

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • cupertino_icons^1.0.5
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗