handy_dialogs

Last updated:

0 purchases

handy_dialogs Image
handy_dialogs Images
Add to Cart

Description:

handy dialogs

Features #
Handy dialogs for your apps 🧚🏼‍👨🏼‍💻
Easy & quick integration of frequently used dialogs
Getting started #
Add this import line
import 'package:dialogs/handy_dialogs.dart';
copied to clipboard
Usage #
Shows a dialog with given question and returns a confirmation bool
if(await confirmationDialog(
context, "Do you agree?", "Agree", "Cancel"){
//function code
}
copied to clipboard

Displays an alert to confirm deletion then returns a bool
if(await deleteConfirmation(context)){
//function code
}
copied to clipboard

Shows a notification dialog with given title and message
notificationDialog(context, "title", "message");
copied to clipboard

Shows a flash dialog or a simple dialog with isFlash = false
showText(
context,
"text",
"subtitle",
backgroundColor = Colors.amber,
seconds = 5,
leading = Icon(Icons.info),
trailing = [Icon(Icons.delete)],
);
copied to clipboard

Additional information #
This package assumes corresponding permissions depending on platform

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.