title property

Widget? title
final

The title used by this item. If the display mode is top or compact, this is shown as a tooltip. If it's open, this is shown by the side of the icon.

The text style is fetched from the closest NavigationPaneThemeData

If this is a Text, its Text.data is used to display the tooltip. The tooltip is only displayed only on compact mode and when the item is not disabled. It is also used by Semantics to allow screen readers to read the screen.

Usually a Text widget.

Implementation

final Widget? title;