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

outdated

Handy dialogs for your apps logic easy & quick integration of frequently used dialogs

Features #

Handy dialogs for your apps logic 🧚🏼‍👨🏼‍💻
Easy & quick integration of frequently used dialogs

Getting started #

Add this import line dart import 'package:dialogs/handy_dialogs.dart';

Usage #

Shows a dialog with given question and returns a confirmation bool

if(await confirmationDialog(context, "message", "confirmText", "cancelText"){
 //function code
}
Confirm Dialog Displays an alert to confirm deletion then returns a bool
if(await deleteConfirmation(context)){ 
	//function code 
} 
Delete Confirmation

Shows a notification dialog with given title and message

notificationDialog(buildContext, "title", "message"); 
Notification Dialog

Shows a flash dialog or a simple dialog with isFlash = false You can customize background color, leading, trailing, onTap function and duration of dialog

showText(context, "text", "subtitle",
    backgroundColor = Colors.amber,
    seconds = 5,
    leading = Icon(Icons.info),
    trailing = [Icon(Icons.delete)], 
 );  
Show Text

Additional information #

This package assumes corresponding permissions depending on platform

3
likes
0
points
72
downloads

Publisher

verified publishermisdevelop.app

Weekly Downloads

Handy dialogs for your apps logic easy & quick integration of frequently used dialogs

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flash, flutter, flutter_vibrate, sound_library

More

Packages that depend on handy_dialogs