Unverified Commit e9ca112e authored by LongCatIsLooong's avatar LongCatIsLooong Committed by GitHub

update CupertinoDialogAction isDefaultAction documentation (#34163)

parent fcaf96db
...@@ -1055,7 +1055,10 @@ class CupertinoDialogAction extends StatelessWidget { ...@@ -1055,7 +1055,10 @@ class CupertinoDialogAction extends StatelessWidget {
/// Set to true if button is the default choice in the dialog. /// 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. /// This parameters defaults to false and cannot be null.
final bool isDefaultAction; final bool isDefaultAction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment