vantuan88291 / flutter_dropdown_alert

Flutter Dropdown Alert help to notify to user when success, warning or error like in app push notification
MIT License
15 stars 10 forks source link

Make 'message' parameter optional #3

Closed alihusseinalissa closed 3 years ago

alihusseinalissa commented 3 years ago

Sometimes we need to show a short message to the user, such as showing "Item deleted successfully" or "No more items", these messages is very short that can be shown in one line, in this case we can pass this message in the 'title' only, there is no need to the 'message' parameter.

I tried passing [null] and [empty string] to the 'message' parameter, but the title then would be shown in the upper part of the alert, if the 'message' parameter been optional, title must be centered vertically in the alert.

vantuan88291 commented 3 years ago

Hi, thank for your report. This issue was release at 1.0.3 version. I will close this issue. Thank you