panara_dialogs 0.0.3 copy "panara_dialogs: ^0.0.3" to clipboard
panara_dialogs: ^0.0.3 copied to clipboard

outdated

PanaraDialogs is a Dialog UI Kit. A minimal but beautiful design for Flutter Dialogs.

Panara Dialogs #

Pub Version GitHub

Panara Dialogs is a UI Kit for Dialog comes with 2 types of dialogs - Info Dialog & Confirmation Dialog both comes with 4 different variants as shown in below screenshots.

Preview #

PanaraInfoDialog #

successnormalwarningerror

PanaraConfirmDialog #

successnormalwarningerror

Getting started #

Add the dependency in pubspec.yaml:


dependencies:
    panara_dialogs: ^0.0.1

Usage #

Then you just have to import the package with


import 'package:panara_dialogs/panara_dialogs.dart';

Here is how you can use PanaraInfoDialog in your flutter project.


PanaraInfoDialog.show(
    context, 
    title: "Hello",
    message: "This is the PanaraInfoDialog",
    buttonText: "Okay",
    onTapDismiss: () {
        Navigator.pop(context);
    }
    panaraDialogType: PanaraDialogType.normal,
    barrierDismissible: false, // optional parameter (default is true)
);

Properties of PanaraInfoDialog #

Property Type value
title String any string value
message String any string value
buttonText String any string value
onTapDismiss void Function() function to decide what will happen onTap
panaraDialogType PanaraDialogType success, normal, warning, error

And Here is how you can use PanaraConfirmDialog in your flutter project.


PanaraConfirmDialog.show(
    context, 
    title: "Hello",
    message: "This is the PanaraConfirmDialog",
    confirmButtonText: "Confirm",
    cancelButtonText: "Cancel",
    onTapCancel: () {
        Navigator.pop(context);
    }
    onTapConfirm: () {
        Navigator.pop(context);
    }
    panaraDialogType: PanaraDialogType.normal,
    barrierDismissible: false, // optional parameter (default is true)
);

Properties of PanaraConfirmDialog #

Property Type value
title String any string value
message String any string value
confirmButtonText String any string value
cancelButtonText String any string value
onTapConfirm void Function() function to decide what will happen onTap confirm
onTapCancel void Function() function to decide what will happen onTap cancel
panaraDialogType PanaraDialogType success, normal, warning, error

Feedback #

Please feel free to give me any feedback helping support this plugin !

155
likes
0
pub points
95%
popularity

Publisher

verified publisherpanarastudios.in

PanaraDialogs is a Dialog UI Kit. A minimal but beautiful design for Flutter Dialogs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on panara_dialogs