closeTooltipIsClose property

bool closeTooltipIsClose
final

Close toolbar icon button uses "close" material localization as default label.

If set to false, it uses "cancel" localization. You can still also provide your own custom tooltip. This toggle is just convenient if you want to call the top toolbar buttons that closes/cancels the dialog "Close" (default) or "Cancel" like on a typical dialog bottom. The "Close" tooltip, is more in line with the 'x' icon, that here also closes the dialog with the dismiss result.

Defaults to true.

Implementation

final bool closeTooltipIsClose;