simple_alert_dialog 0.0.2 simple_alert_dialog: ^0.0.2 copied to clipboard
Created simple alert dialog widget.
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 #