smooth_dialog 0.0.2 copy "smooth_dialog: ^0.0.2" to clipboard
smooth_dialog: ^0.0.2 copied to clipboard

outdated

A smooth dialog is the customized dialog that provides the simple configuration of dialog and it has two UI experiences like dialog of android iOS desktop and web.

A smooth dialog is the customized dialog that provides the simple configuration of dialog and it has two UI experiences like dialog of android iOS desktop and web.

Features #

Dialog will show base on Platform that build on it.

  • This is for android, web, windows and linux.

photo_2021-12-10 10 02 27

  • This is for iOS and mac.

photo_2021-12-10 10 02 32

Getting started #

Copy it into pubspec.yaml then run command flutter pub get

smooth_dialog: ^0.0.2

Usage #

  • This is how to show dialog
  final SmoothDialog smoothDialog = SmoothDialog(context);
      smoothDialog
        .setTitleHeader("this is the header dialog")
        .setDescription("This is description")
        .setTitlePositive("Confirm")
        .setTitleNegative("Cancel")
        .showDialog();
  • This is how to dismiss dialog
  final SmoothDialog smoothDialog = SmoothDialog(context);
      smoothDialog.dismissDialog();
  • it also provide listener call back from button positive negative and dismiss
  final SmoothDialog smoothDialog = SmoothDialog(context);
    smoothDialog
        .setTitleHeader("this is the header dialog")
        .setDescription("This is description")
        .setTitlePositive("Confirm")
        .setTitleNegative("Cancel")
        .addButtonNegativeListener((){
          print("User click on button Negative");
    })
        .addButtonPositiveListener((){
      print("User click on button Positive");
    })
        .addDismissListener((){
      print("User was exit dialog");
    })
        .showDialog();

Additional information #

This is my first package so if you wants to contribute with let's check and create an issue on this repo, thank!

smooth_dialog #

0
likes
0
pub points
34%
popularity

Publisher

unverified uploader

A smooth dialog is the customized dialog that provides the simple configuration of dialog and it has two UI experiences like dialog of android iOS desktop and web.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on smooth_dialog