isDefaultAction property
final
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.
Implementation
final bool isDefaultAction;