smart_alert_dialog 2.0.0-nullsafety.0
smart_alert_dialog: ^2.0.0-nullsafety.0 copied to clipboard
A Smart Alert Dialog that uses Cupertino for IOS and Material for Android. Fell Free to colaborate, every PR is welcome!
Smart Alert Dialog #
A Smart Alert Dialog that uses Cupertino for IOS and Material for Android
Android: #
Dismissable Alert Dialog:
[]
Accept/Cancel Alert Dialog:
[]
iOS: #
Dismissable Alert Dialog:
[]
Accept/Cancel Alert Dialog:
[]
Please note: Most of the support on debugging new issues relies on the open source community.
Props #
title
Change the title of the Alert Dialog
propType: String
REQUIRED!
content
Change the description of the Alert Dialog
propType: String
REQUIRED!
onConfirmPress
Function to be call on accept press. If not set, it will appear a dismissable alert dialog.
propType: Function()
default: null
onCancelPress
Function to be call on cancel press.
propType: Function()
default: Dismiss Dialog Alert
text
Change the text from confirm button
propType: AlertDialogText
default: AlertDialogText({confirm = Yes, cancel = "No", dismiss = "Ok"})
REQUIRED!
cancelText
Change the text from cancel button
propType: String
default: No
ToDo #
- ❌ Add
cancelTextColor
- ❌ Add
confirmTextColor
- ✅ Add
dismissText
- it is inside AlertDialogText - ❌ Add
dismissTextColor
- ❌ Create design for Tablets and Web
Please open an issue if something doesn't work or is not clear enough.
License #
See LICENSE.md