cancelText property

String cancelText
final

The text for the cancel button. Type: String (optional, defaults to 'Cancel'). Usage: Customizes the secondary action button label, e.g., 'Discard'.

Implementation

final String cancelText;