Tooltips provide text labels that helps to explain the function of a button or other user interface action. Tooltip is a string. When you user clicks and holds on a button, you will see that message.
Inside any button there will be a property named as tooltip, checkout below code:
new IconButton( icon: new Icon(Icons.timer), onPressed: _onPressed, tooltip: "Click me", ),