text property
final
The text to be displayed when item is selected (Can be replaced by any other widget).
Implementation
final Widget text
The text to be displayed when item is selected (Can be replaced by any other widget).
final Widget text