onTooltip method

String? onTooltip()

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

Implementation

String? onTooltip() => inTooltip == null ? null : inTooltip!();