update CupertinoDialogAction isDefaultAction documentation (#34163)

This commit is contained in:
LongCatIsLooong 2019-06-10 19:17:55 -07:00 committed by GitHub
parent fcaf96db75
commit e9ca112e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1055,7 +1055,10 @@ class CupertinoDialogAction extends StatelessWidget {
/// Set to true if button is the default choice in the dialog.
///
/// Default buttons are bold.
/// Default buttons have bold text. Similar to
/// [UIAlertController.preferredAction](https://developer.apple.com/documentation/uikit/uialertcontroller/1620102-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.
final bool isDefaultAction;