rflutter_alert icon indicating copy to clipboard operation
rflutter_alert copied to clipboard

Hope the show() function has customized return value instead of bool

Open seeingrain opened this issue 1 year ago • 0 comments

Think about an alert box with three buttons: "try again", "ignore", "cancel", if I need to know which button did user clicked, better to have a param in the DialogButton's constructor, indicates if user clicks this button, a unique predefined value will be returned, and the show() function returns this value then.

seeingrain avatar Oct 27 '23 03:10 seeingrain