flutter_cool_alert
flutter_cool_alert copied to clipboard
A flutter package to display animated dialods
``` CoolAlert.show( context: somekey.currentContext!, type: CoolAlertType.error, title: e.response?.statusCode != 200 ? "Server error" : "Device Error", text: "error text", autoCloseDuration: const Duration(seconds: 5), backgroundColor: Colors.red, barrierDismissible: true, width: 400, confirmBtnColor:...
just implement popscope to ignore backbutton, this is weird when cool alert show loading type, but user can pop the loading dialog
``` ListTile( iconColor: Colors.white, textColor: Colors.white, leading: Icon(Icons.logout_outlined), title: Text("Logout"), onTap: () { CoolAlert.show( context: context, type: CoolAlertType.confirm, title: 'Logout', text: 'Are you sure you want to logout?', confirmBtnText: 'Yes',...
confirmaBtnDecoration : BoxDecoration(borderRadius: 14 or whatever, color: red)
In the android, I face the issue. No callback option is available to check if an alert is closed on the phone back press. To restrict the user to hide...
Introduced a optional param in alert options to update border corner
Did you move to coolalert two?
there is no setting like confirmBtnColor for cancel button. how can I change the cancel button color?
Hi, I am trying to autoCloseDuration if the user didn't clicked on the ok button during 5 seconds, CoolAlert.show( context: context, type: CoolAlertType.success, title: 'hello' , text: "Thanks for choosing...