Skip to content

abhay-s-rawat/simple_alert_dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buy Me A Coffee

Simple Alert Dialog

Simplest alert dialog widget.

Liked my work ? support me

Example

for full example please view example/main.dart

SimpleAlertDialog.show(
  context,
  assetImagepath: AnimatedImage.error,
  buttonsColor: Colors.red,
  title: AlertTitleText('Are you sure ?'),
  content: AlertContentText(
    'Do you really want to delete your account ? You will not be able to undo this action.',
  ),
  onConfirmButtonPressed: (ctx) {
    Navigator.pop(ctx);
  },
);

Screenshots

About

Created simple alert dialog widget.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published