optionBuilder property
option builder optionBuilder is the builder that is used to build the option item. The builder takes three arguments, the context, the option and the selected status of the option. The builder returns a widget.
Implementation
final Widget Function(BuildContext ctx, ValueItem<T> item, bool selected)?
optionBuilder;