text property
The widget used to display this item in the picker.
When null
, the picker will use the string representation of value
or a default text widget. Custom widgets allow for rich formatting,
icons, or complex layouts.
Implementation
final Widget? text;