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

outdated

This flutter package provides aesthetically designed dialog box with customization options.

Dialogs - dialogs #

This flutter package provides aesthetically designed dialog box with customization options.

Choice Dialog #

Choice Dialog Choice Dialog Rectangular Choice Dialog Rectangular Buttons

Message Dialog #

Message Dialog Gif Message Dialog Message Dialog

Pub Version GitHub Workflow Status Github Stars GitHub

Simple Usage #

To use this plugin, add dialogs as a dependency in your pubspec.yaml file.

Implementation: #

  • Import import 'package:dialogs/ChoiceDialog/dialogs.dart';

ChoiceDialog #

  • use showDialog function and call the Choice Dialog .
showDialog(
           context: context,
           builder: (buildContext) => ChoiceDialog()
);

MessageDialog #

  • use showDialog function and call the Choice Dialog .
showDialog(
           context: context,
           builder: (buildContext) => MessageDialog()
);

You are good to go 💯
#

In order to add the ChoiceDialog to your app, there are several attributes that are important parameters you might have to use frequently:

Attribute Type Default Required Description
buttonOkOnPressed Function() Navigator.pop(context) No This function will be registered as the callback of 'Ok' button.
buttonCancelOnPressed Function() Navigator.pop(context) No This function will be registered as the callback of 'Cancel' button.
dialogRadius double 15.0 No Determines the borderRadius of dialog box.
buttonRadius double 18.0 No Determines the borderRadius of action buttons.
iconButtonOk Icon null No Renders a FlatButton with the provided icon for positive action.
iconButtonCancel Icon null No Renders a FlatButton with the provided icon for negative action.

CREDITS #

Contributors #

Made with contributors-img.

26
likes
0
pub points
84%
popularity

Publisher

verified publisherasadhameed.com

This flutter package provides aesthetically designed dialog box with customization options.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dialogs