defaultItem property

dynamic defaultItem
final

The default item to be selected when the widget is initialized. If provided, this item will be displayed as selected immediately, and the onSelect callback will be triggered after the first frame.

Implementation

final dynamic defaultItem;