update CupertinoDialogAction isDefaultAction documentation (#34163)
This commit is contained in:
parent
fcaf96db75
commit
e9ca112e44
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user