iosIsDefaultAction property

bool iosIsDefaultAction
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. Only used on iOS

Implementation

final bool iosIsDefaultAction;