isDefaultAction property Null safety
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 and cannot be null.
Implementation
final bool isDefaultAction;