isDefaultAction property

bool isDefaultAction

Set to true if button is the default choice in the dialog.

Default buttons have bold text. Similar to UIAlertController.preferredAction, but more than one action can have this attribute set to true in the same CupertinoAlertDialog.

This parameters defaults to false.


final bool isDefaultAction;