closeButtonLabel property

String? closeButtonLabel
final

Optional text label for the close button (e.g. "Done" or "Cancel"). When set, rendered as a bold liquid glass capsule button (like the native "Done" toolbar button). If null, renders a circular liquid glass button with a close xmark.

Implementation

final String? closeButtonLabel;