champ96k / emerge_alert_dialog

An emerge alert dialog is allows developers to easily create and display alert dialogs with custom animations.

Home Page:https://pub.dev/packages/emerge_alert_dialog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emerge Alert Dialog

An emerge alert dialog package is allows developers to easily create and display alert dialogs with custom animations. Emerge dialogs are used to display important information or messages to the user and often include a call to action, such as a button to confirm or dismiss the dialog.

In the context of the Emerge framework, an Alert Dialog is a type of dialog box that can be used to display an alert message or to prompt the user for a response within the context of an Emerge application.

Usage

Example

To use this package :

  • add the dependency to your pubspec.yaml file.
dependencies:

  emerge_alert_dialog: ^0.0.3

How to use

    Future<void> _showMyDialog(BuildContext context) async {
        return showDialog<void>(
        context: context,
        barrierDismissible: true,
        builder: (BuildContext context) {
            return EmergeAlertDialog(
            alignment: Alignment.bottomCenter,
            emergeAlertDialogOptions: EmergeAlertDialogOptions(
                title: const Text("Privacy Info"),
             ),
          );
        },
      );
    }

Screenshot









Created & Maintained By

Tushar Nikam


About

An emerge alert dialog is allows developers to easily create and display alert dialogs with custom animations.

https://pub.dev/packages/emerge_alert_dialog

License:MIT License


Languages

Language:Dart 95.2%Language:Swift 3.4%Language:Kotlin 1.2%Language:Objective-C 0.3%