tooltip property

String? tooltip
final

Text that describes the action that will occur when the button is pressed or hovered over.

This text is displayed when the user long-presses or hovers over the button in a tooltip. This string is also used for accessibility.

If null, the button will not display a tooltip.

Implementation

final String? tooltip;