All Projects → JideGuru → rich-alert-dialogs

JideGuru / rich-alert-dialogs

Licence: MIT License
A Flutter plugin for displaying cool alert dialogs.

Programming Languages

dart
5743 projects
ruby
36898 projects - #4 most used programming language
java
68154 projects - #9 most used programming language
swift
15916 projects
objective c
16641 projects - #2 most used programming language

Flutter Sweet Alert pub package

A Flutter plugin for displaying sweet alert dialogs.

Inspired by rich_alert

🎖 Installing

dependencies:
  sweet_alert_dialogs: "^0.2.0"

⚡️ Import

import 'package:sweet_alert_dialogs/sweet_alert_dialogs.dart';

📷 Screenshots

🎮 How To Use

showDialog(
    context: context,
    builder: (BuildContext context) {
       return RichAlertDialog(
          alertTitle: richTitle("Success"),
          alertSubtitle: richSubtitle("This is a Sucess alert"),
          alertType: RichAlertType.SUCCESS,
          actions: <Widget>[
            FlatButton(
              child: Text("OK"),
              onPressed: (){Navigator.pop(context);},
            ),
            FlatButton(
              child: Text("Cancel"),
              onPressed: (){Navigator.pop(context);},
            ),
          ],
       );
    }
);

🐛 Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

❗️ Note

For help getting started with Flutter, view the online documentation.

For help on editing plugin code, view the documentation.

⭐️ License

MIT Licence

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].