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